Connection getters

Adding Connection->getApiInstance(…) and Connection->getApiClass(…) for convenience.
Based on branch "renaming-class".
Nice precog ability. Although the second won't be in documentation.