Continued working on lexer support fns. Added Error token with a to be changed type.
Finaly got tests to work! :D Also tidied up a few ods and ends.
Forgot to commit this file. It is important for tests.