Make tests compatible with Python 2.6 .
Python 3 compatibility fixes and return final test status from run_tests.py
Updated travis configuration.

- Build for both python 3.2 and 3.3
- Add install-deps.sh script for installing dependencies