*8876* code coverage

Code coverage report. This works for local installs. I will add the Travis integration separately.
I wasn't aware of that. I will port it.