Retrieves the model that contains the application instance.
A raw pointer to the owning model; if the application instance is not appended to any model, the method returns a NULL pointer.