[FEATURE] Added GetConnection method

Added GetConnection method which is a getter for the $connection class member (mysqli class instance). GetConnection checks that the existing object is not null before returning.