Add support for a basic Travis continuous build.

Their environment is based on Ubuntu Precise, missing a number of necessary
packages, so this is only the subset that builds right off (Java and the
"pure Go").
Improve the Go binding for merkletree.