Added a basic escaping function to the base class. #14
Added the option to turn on HTML escaping by default. Fixes #14.
Merge pull request #17 from johngeorgewright/14-escaping

14 escaping