Parse single quoted strings and add support for escapes