Rewrite the Python implementation of Handlebar to have much (~33%) faster
rendering speed, have more informative errors, and use Google codind style.