Added TravisCI configuration and fixed Python 3 issues

Signed-off-by: Warnar Boekkooi <warnar@cerbex.com>