[testlib] call init_config once the config has been properly bootstraped
This should be done right after repository instantiation and as such involves
giving CWTC.init_config as a callback to the test database handler (which will
itself gives it to the repository initialization function).
This unfortunatly requires to pass the init_config method to the
server.init_repository function because it has to be called after the config has
been initialized (which is done in Repository.__init__) but before the migration
handler is instantiated (which will call 'server_maintainance' hook, hence may
require the proper config). Another way to fix this would be to change the
initialization sequence, but this is another story.
Closes #3749378
Javascript Coding Standards---------------------------(Draft, to be continued):Naming: camelCase, except for CONSTANTSIndentation rules~~~~~~~~~~~~~~~~~- espace avant accolade ouvrante- retour à la ligne après accolade ouvrante (éventuellement pas de retour à la ligne s'il y a tout sur la même ligne, mais ce n'est pas le cas ici.- no tabsDocumentation~~~~~~~~~~~~~XXX explain comment format for documentation generationCoding~~~~~~- Don't forget 'var' before variable definition, and semi-colon (';') after **each** statement.- Check the firebug console for deprecation warningsAPI usage~~~~~~~~~- unless intended, use jQuery('container') rather than jqNode('container')See also~~~~~~~~http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml