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
Fix: forgot some lib in shinken/dependencies & jenkins requirements.

For easier dev:
also renamed jenkins new_runtest with ext. and made a link to it.
Update reactionner.rst
Merge pull request #1368 from lermit/patch-1

Update reactionner.rst
Fix an encode problem.

stdout can be in any encoding.

So print encode to that encoding and eventually xmlcharrefreplace if encoding (like ascii) can't encode every unicode char.
Added HTTP call: get_start_time
Merge pull request #1369 from gst/fix_jenkins_unicode_problem

Fix an encode problem.
Use "original" sys.stdout.
Merge pull request #1371 from gst/fix_jenkins_unicode_problem

Enh: Test - Use "original" sys.stdout.
start_time is now an int
[DOC] fix release number in pdf title

When downloading pdf from readthedocs, title has old release version.
https://readthedocs.org/projects/shinken/downloads/pdf/latest/
Merge pull request #1372 from rasoso/doc_fix_release_in_pdf_title

Enh : Doc -  fix release number in pdf title
Fix: Comment new parameter with bad syntax
Merge pull request #1367 from gst/missed_dependencies

Fix: forgot some lib in shinken/dependencies & jenkins requirements.
Fix: broker crash when sub process gt down and are not catch at the begining of the loop. fix #1350
Fix/Enh: changed all bare "except" to "except Exception".

bare except are bads/evil.

https://docs.python.org/2/howto/doanddont.html

Used:

find -type f -name '*.py' -exec egrep -q '[^a-zA-Z]except\s*\:' {} \;  -print | while read f ; do sed -i 's#\sexcept\s*\:# except Exception:#' "$f" ; done # could be a shorter one :p
Better to catch exactly the exception type that you are waiting.
Merge pull request #1376 from gst/clean_bare_except

Enh : Clean bare except
Fix: tests: guessed Notification id could be another value if others tests files were previously run in the same session/process.

If you run this test with others in the same process,
like with: "nosetests -xv test_no_host_template.py test_notification_master.py",
then Notification.id may be != 12 ! (why not 42 ? :p)

Just mock Notification.__init__ (the only one we are interested here) and retain the newly created instances in a list.
The one we'll need should be the first (guessed_notif).
"original" stdout can even miss an encoding attribute.

If run "externally" then sys.stdout could be a StringIO for instance,
and have not an encoding attribute.

safe_print: enh: If UnicodeError problem on write then still fallback on 'ascii' as last possibility.

also use getdefaultencoding for guess encoding.