Add escape, quote and some tests
Reduce code duplication by aliasing method
Merge pull request #2 from bovi/escape

Add escape, quote and some tests