updated usergrid.client.js to handle app user logins correctly and fixed createUser()
updated usergrid.client.js to handle app user logins correctly and fixed createUser()

mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid