updated copyright notices

Where missing, added Apache license at beginning of source files