Removing Handlebars dependency

This PR replace Handlebars dependency by simple templating function. The code isn't getting any bigger but it may loose some of it's previous flexibility provided by `Handlebars.compile`. For now the test suite is passing, but there may be some edge cases. Please consider if it is worth to go this way.
That said, it can be a future PR. No need to conflate things.