Move symbols from the Cocoa SDK to its own Platform grammar file

This makes it easier to automatically update the grammar to new SDKs.
Update platform definitions to latest SDK
Remove script used to grep Cocoa headers for grammar symbols

This is no longer used, instead we used a libclang-based approach.
Include ‘source.c.platform#functions’ instead of redeclaring them