Bugfix in parsing escaped characters (+ additional tests to prevent this bug in future).

Thanks to Joseph Werle for bringing attention to it.
Changes to readme.
Merge pull request #1 from kgabis/master

Sync with upstream