sanitize url string
fix 349

- if there is a conflict while updating, get latest revision from db instead of cache
Merge pull request #350 from hermanccw/fix-349

Fix infinite loop in -[CBLDocument update:]

fixes #349
Merge pull request #347 from hermanccw/fix-346

Hide password in URL logged by CBLSocketChangeTracker

Fixes #346
Xcode 6 compatibility. Build a module. More Obj-C syntax modernization.
Fixed some mistakes in CBLQuery doc-comments

Fixes #342. Fixes #343.
Make [-CBLQueryRow description] not crash if the row's value is nil

Fixes #318
upstream changes
Added shouldHoldAllProperties method to CBLModel (default value is YES). With CBLNestedModels, we may not want unchanged CBLNestedModels to be removed from the internal cache under low memory conditions if they have purely been gotten. This allows us to pass CBLNestedModels to different classes (like UI elements that configure themselves based on a particular CBLNestedModel) without fear that the model may dealloc them even though we are holding the parent CBLModel with a strong pointer under low memory conditions. CBLModels that are no longer held will still deallocate like normal, and this does not affect anything related to that.