Updated gevent to 1.0, migrated all tests to py.test