Made kv_location_set take a datum argument, convert to json itself.
Made rdb_protocol/btree.cc include its own hpp first.
Added serialization/deserialization for counted_t<const datum_t>.
Removed containers/archive/counted_type.hpp and removed the generic counted_t serialization implementation inside it.