Updated codebase to be Python 3 compatible
Added travis configuration