improved mongodb authentication

Signed-off-by: Wouter Vroege <wouter@woutervroege.nl>
Merge branch 'refs/heads/mongo'
Merge remote-tracking branch 'upstream/master'

Signed-off-by: Wouter Vroege <wouter@woutervroege.nl>

Conflicts:
	lib/shared/backends/mongo.js
first steps toward caldav support
fix mimetype
allow empty .htdigest files. Fixes #78. Thanks @mcooley
fix lock timeout handling. Fixes #82. Thanks so much, @honx
beautifying...

Signed-off-by: Wouter Vroege <wouter@woutervroege.nl>
added a newline

Signed-off-by: Wouter Vroege <wouter@woutervroege.nl>
make uploading files from browsers work properly. Fixes #79
fix error found by @bancek. Thanks\!
remove CardDAV refs from comments
iOS compatibility
bugfix iOS
remove logging
Merge pull request #72 from woutervroege/carddav-mongo

improved mongodb authentication
DAVACL plugin can cause deadlock in REPORT request processing cause' it won't call next event handler if the specified report can't be handled by plugin.
Ability to specify own set of supported calendar component set.
Merge pull request #2 from tensor-dev/feature/supported-calendar-component-set

Ability to specify own set of supported calendar component set.
Merge pull request #1 from tensor-dev/bugfix/davacl-plugin-report-lock

DAVACL plugin can cause deadlock in REPORT request processing