clean up trailing whitespace

This mostly removes file trailing and line trailing whitespace from
the files.
bump the test-framework constraints to enclude 0.8
add mising 'Types' module to 'other-modules' in cabal
fix invalid module names in cabal file
Merge pull request #51 from ericbmerritt/master

tidy up cabal file, extend test-framework to allow 0.8