Merge pull request #7 from creighton/master

adding ability to update the auth creds from username and password
Merge pull request #9 from creighton/master

changed the way the constructor handles the config properties
changing document requests from PUT to POST so that we can do parital updates to json docs