Introduces tests and travis CI config.
Tests only on Python 2.7 and Python 3.3.