Implemented support for escaping triple quotes

Fixes #40