Fixed some Parser logging things

When a Parser is created with `debug=True`, all PLY logging messages
will be printed to stdout. If false, then everything except error
messages are hidden.