Add copyright header to most java files in the repository.

This also adds some fuzz from the the Android project formatter. The only
headers which are not added are ones added from other sources. It's probably
legal to add them to those files, but probably unnecessary.