Features/repr format

- Change __repr__ to comply with standards.
- Make TravisCI notice test failures.
- Fix long standing test failures in Python 2.5, 3.2 and PyPy.