Add stacktrace to ParseError

Fixes #854. Also clean up the parse error test a little, while adding a .stack check.
I know we don't have to check in that case, I was kind of arguing that it's better to explicitly, both because if you're looking at the test code that condition is more clear and because we can give a more descriptive test failure that way.