Added PyPy support

Thanks @benoitc for the initial version of the patch
Added PyPy to Travis tests
Fixed running tests from the right directory
Use tox on Travis
Fixed some tests on PyPy
Separate tests