Issue #10 - was doing null check on wrong object.

https://github.com/couchbase/couchbase-lite-android-liteserv/issues/10
Fixes Issue #10 - convert Collections.synchronizedXXX to using concurrent collections such as ConcurrentHashMap

https://github.com/couchbase/couchbase-lite-android-liteserv/issues/10