Instrumentation and coverage

Sorry, this is the 3rd try at a pull request for this, replacing https://github.com/GoodBoyDigital/pixi.js/pull/489 and https://github.com/GoodBoyDigital/pixi.js/pull/476.