datastore: cleaning up the generation of the CORS code path
pre-fix for Issue 71 -> don't export out the core api
identity toolkit!