Copyright messages added to .cc and .hh files

Copyright header has been added to .cc and .hh files immediately under
/lib (/lib/zlib and /lib/bzip2 not changed)