changed default error pages to 'friendly'
updated unit tests
Changed code to comply with Mediawiki coding standards
Renamed some classes so that their names made more sense