Added licensing terms to all source/header/python/shell/template files.

Also removed an old test file that shouldn't be in the iOS generator.