Full rewrite of gwpy.tests using pytest, not unittest
In order to simplify the test suite for future additions, this PR completely reimplements gwpy.tests using pytest, and not unittest. Along the way I fixed a large number of small bugs that should all be backwards compatible changes.