Add handling for doubly quoted strings (issue #2)

Moved a rule for looking for escaped chars to its own dict so that
it can be shared.