os/ObjectStore: pass cct to ctor

Signed-off-by: Sage Weil <sage@inktank.com>
os/ObjectStore: prevent copying

Signed-off-by: Sage Weil <sage@inktank.com>
os/ObjectStore: make getattrs() pure virtual

It is required.

Signed-off-by: Sage Weil <sage@inktank.com>
os/MemStore: implement reference 'memstore' backend

This is (as near to) a trivial ObjectStore backend for the OSD as we can
get at the moment.  Everything is stored in memory.  We are slightly
tricky with the locking, but not overly so.

On umount we dump everything out to disk, and on mount we load it all in
again, so we have some very coarse persistence/durability... just enough
to make this usable in a non-failure environment.

Signed-off-by: Sage Weil <sage@inktank.com>
osd: queue pg deletion after on_removal txn

The removal is normally so slow that these don't really race, but they
could.

Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #903 from ceph/wip-memstore

memstore: reference ObjectStore backend

Reviewed-by: Samuel Just <sam.just@inktank.com>