Updated copyright headers and added GPL header to files where it was missing.