Add stacktrace to ParseError

Fixes #854. Also clean up the parse error test a little, while adding a .stack check.
@MartinKolarik Could you please confirm that this outputs something on 10 and 11?

```
var stack;
try {
   throw new Error();
} catch (e) {
   stack = e.stack;
}
document.write(stack);
```