Fix comparison of strings with single quotes

- add an escape() function that replaces troublesome characters
- add tests
- closes #40
Bump version. Update changelog
Merge pull request #41 from rylnd/fix_nested_quotes

Fix nested quotes