Timob 13183 Merged common-globals and require-provider into ti-api-provider

**WARNING** PR https://github.com/appcelerator/titanium-code-processor/pull/230 MUST be merged before merging this one.