chore(tests): support for phpunit testing of plugins

Documentation on how plugin authors can test plugins with PHPUnit.
Small change to bootstrap so that tests can modify the configuration
before Elgg is loaded.

Closes #7408