Make SyntaxError properly inherit from Error.
Make SyntaxError properly inherit from Error.

This ensures that the superclass constructor is called and the `name`
property is set appropriately.

Fixes: #168, #169.

cscott/parser-lib,ideadapt/parser-lib,ideadapt/parser-lib,cscott/parser-lib