Added support for single quote escaping.

Added support for single quote escaping of characters in the format string. Also added a unit test.

Addresses issue #53