Connection getters

Adding Connection->getApiInstance(…) and Connection->getApiClass(…) for convenience.
Based on branch "renaming-class".
I'd rather see ONE preferred way to do it, even if there is two.  Had it been another language, we could make the constructor into a friend-only method :)