token error: moved and renamed error structure

moved error structure from main header to token header
renamed to token error and renamed variables with member prefix
added constructor for status, column and length (for parser)
added constructor for status and token (for translator)