fix call chain through __get() not being able to reference the obj
fix the __get() calls for the mysqli object and wrong MYSQLI resulttype in query