Full compatibility with Python 2.6, 3.2 and above

* Exit with a non-zero error code
* Use __future__.print_function in tests for compatibility with Python 3
Updated package metadata and added tox.ini
Added Travis-CI configuration