implement api for adding new observable objects

Change-Id: I2b531a3b53ef11fe8672276333c961a896aca43e
Reviewed-on: http://review.couchbase.org/24023
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>