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.
Avoid the dependency on the makefile from Go.

This avoids the extra step of "make golibs", and also leaves Go in control of
compilation flags.