Continued attempt to fix https://github.com/couchbaselabs/TouchDB-iOS/issues/266: TDHTTPResponse -cleanUp should rstop the router from observing notifications. Q: is this a good way to fix - should cleanUp instead set _router to nil or call its -stopNow which does the same, also in a synchronized way?
Merge branch 'master' of github.com:mz2/TouchDB-iOS into mainline
Another attempted fix to #266, by retaining self in -dbChanged: such that the roouter doesn't get deallocated during it, as suggested by @snej in https://github.com/couchbaselabs/TouchDB-iOS/issues/266#issuecomment-19927084