modules management: fix, enh&clean of load/import module functions.

Fix: now possible to import as true packages the shinken modules.
Even if they do relative import.

Enh: Daemon: set modulesctx.modules_dir when modules_manager is loaded.

Clean: ModulesContext.get_module() and ModulesManager.load().
Factorization should be easily do-able.

Conflicts:
	shinken/modulesmanager.py
Fix: Empty list value and strip contactgroup
Add: statsd export for inner metrics.
As simple so.
Add: proxy setting to exchange with kernel.shinken.io
Fix: missing test entry
fix macroresolver error from eltdetail template

Define output_macros as a class variable instead of an object variable
Fixes problem found in shinken-monitoring/mod-webui#88
Add: some new properties to the check_result broks, so some modules will be able to not need full broks for just the check_interval or a simple ack/downtime state.
Fix : Syntax error. @naparuba please ensure test case are fine BEFORE pushing
Fix : Syntax error. @naparuba please ensure test case are fine BEFORE pushing
Fix: tests are now using the dev version by default, and if not available the installed one.
Rev: TEST fail back to installed version loading first because of modules tests. TODO: find a way so modules can be test without install the tool and so be error prone when framework developping and using quick_tests.sh. hint: PYTHONPATH var is not enough for solving this
Fix: tests again, put back old code, but I dont see the difference
Revert "Fix: tests again, put back old code, but I dont see the difference"

This reverts commit 86a0702459fb7daa40005e50f40e2a2fb92adbd3.
Revert "Rev: TEST fail back to installed version loading first because of modules tests. TODO: find a way so modules can be test without install the tool and so be error prone when framework developping and using quick_tests.sh. hint: PYTHONPATH var is not enough for solving this"

This reverts commit 25d653432534329cb153dac06f6fe5a6b5f246e0.
Revert "Fix: tests are now using the dev version by default, and if not available the installed one."

This reverts commit 8d64301015d396c1de1cf8e04236cb78fd1f13e3.
Fix: regression about non stripping list properties in the pythonize pass.
Fix: bad test version file :)
Enh: DRY: set a try: except arround trigger exec code.

So it's not required to do it in every trigger code !
Merge pull request #1348 from gst/enh_import_modules

Enh : modules management better load/import module functions.