Type hinting, and apiConnector init

Added setApiConnect type hinting, added apiConnector initialization in DigitalOcean class constructor.

Without the apiConnector initialization, the class fails to work.