Fix bug 1044072 - Run coverage only on release build

This PR adds the environment variable `RUN_COVERAGE` which when set will generate a test coverage report at the same time tests are run.

The flag is only set when `leeroy` is not passed as the first argument to `scripts/build.sh`.
Shouldn't need ```run``` - it's an arg to ```coverage```