[REL] saas-4
[FIX] when running in threaded mode with "--stop-after-init", do not spawn httpd and cron thread
[FIX] some tests need the http daemon to be available
[FIX] http: correct detection of old (v7) routes that still take "req" as first argument
[FIX] module loading: mark module as initialized *after* the data files have been loaded

When the registry is updating, the view verification only validates the views 
from initialized modules. Not taking the current module allow update of views
that have also an inherited view in the same module. The verification of the base view
must not try to apply the old inherited view against it as it may not be applicable
anymore. 

After module update, we re-validate all the views of this module. This is needed because
a module can declare two (or more) inherited views that are correct when applyed alone,
but not when combined with others.
[FIX] when runing in prefork mode, empty connection pool *after* the registry preloading
[FIX] cli mode: initialisation of the addons path do not setup the logger (as we only parse the addons path, we ends with the default logging config)
[MERGE] forward port of branch saas-4 up to revid 5196 chs@openerp.com-20140422123533-b6lcm76ydf8vpw9u