Add copyright and license to top of files

Used script adapted from
http://www.mail-archive.com/community@apache.org/msg04322.html