[CLEANUP] Escape all backslashes in strings

By convention, all backslashes in strings (both single-quoted and
double-quoted) should be escaped by another backslash unless the backslash
is explicitly used for escaping a character for PHP.
Merge pull request #6 from oliverklee/cleanup/backslashes

[CLEANUP] Escape all backslashes in strings