Removed superfluous call to parse()
Changed default escaping rule in Escaper
Renamed a couple of variables, fixed a couple of comments. No functional change intended.
Fixed dirname
Added call to parent::setUp() for code coverage