Add application/user identity/credential models

/to @ritch 

The models will provide support for 3rd party login and linked accounts