Fixed generation of new inventory ids.
Updated readme to reference initcouch script and to update the requirements for a manual install.
Changed to properly setup security on the DBs and to set the config for oauth.
Also, removed the CORS stuff since we don't need it any more.
Fixed generation of new inventory ids.