make running tests easy with py.test and tox

Had to clean up a bit of packaging stuff to get this to work.

Change-Id: I6ec0755a3aa00055967b3a1981d60bd68c4cfd0a