Add stacktrace to ParseError

Fixes #854. Also clean up the parse error test a little, while adding a .stack check.
Because that's what I'm adding with this change. I like to always test for things if I can.