Connection getters

Adding Connection->getApiInstance(…) and Connection->getApiClass(…) for convenience.
Based on branch "renaming-class".