Merge pull request #4 from fieldlinguist/master

Cleaning up removing views and passport
added a function to change a users password in couchdb currently it gets the user from the _users table, removes them and recreates them with the new password and adds some meta data about their old state and puts back in their roles. tested via local chrome extension. fixes #599
added corpuses whichwere missing before from the user sync details, needed to add corpusid which is needed to show the user a list of their corpuses and let them switch between them. also needed to create new corpora for the user.
added functionality to create new corpora on the couchdb server, and add the user as an admin on those corpora. tested for basic creation of 1 corpus, or 2 or more corpus at a time. for #476 and fixes #605
bringing it up to version 1.22

users made previous to 1.22 will need to be upgraded to the new system.
putting creation of new corpus as it was, less lines of code
Merge pull request #5 from cesine/master

Tested creation of new corpora and switching between them
the production servers couch was not updated to try the EC2 couch so we were getting errors in saving the user into the db
upping the version to match the prod version
moving usage of the users db inside teh callback. that was a bug
Merge branch 'master' of github.com:cesine/AuthenticationWebService
Merge pull request #6 from cesine/master

Found a bug in the adding of roles to users
having the server email the devs when it restarts
Merge branch 'master' of github.com:OpenSourceFieldlinguistics/AuthenticationWebService
changing email

:
updated dev configs for ailing
deprecating views that are now made client side, debugging adding user roles and security to new corpora and activity feeds
changed addrole to be outside of callback even though that seems illogical, it works that way and not inside
adding paths to the couchdb calls, this will work with cradle but only if the port is on port 80 or 443 for https://github.com/OpenSourceFieldlinguistics/FieldDB/issues/657
upping the version number