Support for Slim templates

Probably could use better test coverage.

Please try it out on real apps :)

Oops link to #214