Added license header for package.scala in the Java API package.