Fixed issue #47 and normalized respect to PHP the errors raised
Added missing space
Replaced type with __class__.__name__ to fix translation and removes extra comma
Fixed path of skipped test and replaced the wrongly typed __main__ with __name__
Added tests for the new ParseError messages
Merge pull request #54 from sk-/issue47

Fixed issue #47 and normalized respect to PHP the errors raised