Fix misc tests problems

Mainly fixed 2 problems:

1) annoying problem of encoding under jenkins test run (it could happen in others env than jenkins too).
2) another annoying problem of a test (notification_master) too much dependent of some conditions.

+ some shinken_modules.py imports cleaning (to be continued).
more deeper object?