Fix rsyslog templates to honour rfc3164 & rfc5424 for all logs

Refactor templates to honour message formats

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Patch python 2.6 logging handlers.py

Workaround for #FUEL-829

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>