Add some TH exports that are helpful.
Restrict Travis to work only with master and release branches.

Fixes #51.