Add more template helpers

Closes #43 

Adds three new helpers:

- `toUpper()`
- `toLower()`
- `toTitle()`

I also added some minor cleanup around the tests and renamed the existing `json` method `toJSON` for semantics. 

/cc @ryanuber