Add source -> target lookup for JVM targets

Also add pretty-print function to Address. These changes support a
build-file generating tool I've written in foursquare.web.