Check bucket->object_space for existence in finalizer
Check bucket->object_space for existence in finalizer

Overriden method might raise exception before the bucket will reach
initialize method, for example if user will do something like this:

    class Couchbase::Bucket
      def initialize(*args)
        raise "something wrong"
        super
      end
    end

Change-Id: Ia7b00db0834f1bb90064370fb7b0dddf369219f3
Reviewed-on: http://review.couchbase.org/32332
Tested-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

dewolfe/couchbase-ruby-client,dewolfe/couchbase-ruby-client