Register existing model to app.models during app.model()

/to @ritch 

The PR enables app.model(Model) to register the Model class with app.models using Model.modelName.