adding env.sh to gitignore
fixing single user mode bug
fixing bugs for upsert
adding tojson example
attachments/blobs now worky plus mo refactor. deprecatign _apiBlobRequest as it's not needed
fixing attachment issues
more refactoring
updates tests and removes unnecessary ones