Fixed #36
Store file name with CompilationError
Only throw CompileError on mandatory errors
Only report syntax errors
Pulled in a contribution of linzhp, which fixes issue #36.