Implement (basic) tern builder. See
https://github.com/angelozerr/tern.java/issues/174