Better debug logging for the parser.
Removed non-repeating debug log behaviour.
Merge pull request #8 from mikepurvis/logdebug

Better debug logging for the parser