Renamed singleton variables from obj to api

Renamed 'obj' singletons to 'api' for consistency and readability, with the exception of me.TMXUtils.parse, as it conflicts with the me.TMXUtils function api variable, which would get confusing