convert templates to tornado style.
Fixed a small bug in rabbitmq consumer which would overwrite the
timestamp.
Fixed handler to render the new templates
Merge pull request #16 from 499/template_convert

convert templates to tornado style.