Added successive quote escaping. Fixes #7

As reported in #7, we are currently not handling successive quotes properly. In this PR:

- Add test case against successive quotes
- Added fix for successive quotes

I should note that since we have what seem like 2 common regressions, we should probably break the escaping portion out into its own module for reuse elsewhere.