Full support for valid escape sequences

All valid escape sequences (`\<character>`, `\x<hexadecimal>`, `\x{<hexadecimal>}` are recognized for #15, which incidentally fixes #14.