Parsing an integer works, yay!

Fixed some AST problems for this and reordered parser code.
We definitely need some nice AST dumping thing at this point (also for
testing)