Merge pull request #30 from mwilliamson/non-finite-float-errors

Add tox/py.test and raise error when dump is called with non-finite floats