[TASK] Add a local test-running phpunit bootstrap script

This script is a slightly modified version of the bootstrap script supplied in EXT:core - using this script as bootstrap in phpunit allows tests to be executed from the IDE, with coverage support, including running individual tests.