parser: replaced error messages with status codes

added error status member to parser class to hold error code
moved set error functions from token to parser class
replaced message argument with error status in set error functions
renamed set error function versions specifically for length and column
added new status enumerators for parser error codes
added messages for new status enumerators