SERVER-8177 Improve copyright license consistency for scripting files

Use Apache license copyright for .h files, use Affero license copyright
for .cpp files.