Implemented support for escaping triple quotes

Fixes #40
Merge pull request #40 from jroper/40-escape-triple-quotes

Support triple quotes in a template