Adds coverage testing to tox.

Note this will recreate the coverage data when `tox` is used. There are environments
for cleaning the coverage data, and generating the report/html report.
Improve coverage of tests.
Fix tox coverage reporting
Tidy up the flags missing checks in data.py
Tidy up ioc_data.py checks