handlebar.py: Add a __repr__ and __str__ to everything to aid with debugging,
but most importantly fix a bug where [] was used instead of .get().