Implements tab output
Parsing now fully functions, notes and rests are currently the only
valid output types.
Also fixes so major memory management issues in the parser.