UI Screenshot Test refactor + many new tests

Iffy commits & changes:

- TestingEnvironment.addHooks event (see use in DBStats plugin)
- commit 0195bb5 . Used to get Installation_spec.js test to work. Originally, FrontController::createConfigObject would never throw since the local INI file is never checked for readability.