Improved string literal decimal escapes and added octal and hex

Imported the fixed octal, decimal and hexadecimal string literal
character escape handling from EEL. Escapes now have figure count
limits; three for octal and decimal, two for hex.

Added specific error codes for format errors in the respective
character escapes.