Allow specfying custom java package.

Some people don't take upstream's default Java packages and are likely to
be re-packaging java themselves with a different package name, and
therefore will want to use their custom package which is not named
'java'.
Merge branch 'custom_java_package' into yelp_master