Add stacktrace to ParseError

Fixes #854. Also clean up the parse error test a little, while adding a .stack check.
@MartinKolarik When it did work it output an actual stack though, right?