Changed all .scala and .java files to ASF license headers. (#2367)

7 files changed