Add license info, quiet a few warnings, update to Java 6 / Scala 2.10.4 as per Spark

Just a few suggestions after I ran the example today, for your consideration