Port integration tests to pytest and docstring fixes

--HG--
extra : rebase_source : d1ee0b0cfc40c440b5cf4511817ec9ea8e625d27
Skip integration tests unless --ip is given

--HG--
extra : rebase_source : 26d448e41d160371b601342ad150ca1233c1157f
A proper LICENSE and AUTHORS file.  Add yourself to AUTHORS if I have missed you out!
Merging with recent changes in Master

--HG--
extra : rebase_source : a8336a4740f25cf81d0d643773e1d8d1a03f6f3f
Merge pull request #102 from lawrenceakka/pytest-integration-tests

Pytest integration tests