parse_string for strings with escaped characters

Add support for strings like "\\" or "\"". The character following \ [backslash] is escaped.