Update Module:ParseCue

Fixed the tokenising and parsing. now seems to work reasonably for a variety of cue tests.