Added travis badge to the README
Lots of refactors, replaced nosetests by py.test