Add Travis, remove re2, and add support for Python 3.