Adding files required by the Apache License Version 2.0: LICENSE and NOTICE.
Fixing a memory leak.
Adding names of Xcode 4 specific files that we don't want in the git repository.