Simplify logic for shared_ptr and unordered_map

Just check if the headers exists during configure.

Compilers with support for c++11 will use the one
part of the standard, the others will use the
ones in tr1 (that would be for g++/clang++)

Change-Id: I18d88eff0927fc255e4cc1ce66eb4da42d45930d
Reviewed-on: http://review.couchbase.org/29967
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>
Don't use C++ stuff in files used from C

Change-Id: Ied6b0e26db4ac85381be23e091f528c909127cd4
Reviewed-on: http://review.couchbase.org/29980
Reviewed-by: David Liao <david.liao@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>
Delete dummy couch kvstore

Change-Id: If9103e8699b60ec4ec3fdd136eed4bcd7c1d5612
Reviewed-on: http://review.couchbase.org/29981
Reviewed-by: David Liao <david.liao@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>
Removed unreferenced static functions

Change-Id: Iee12df60d4d551cfdf168e989ef56d8460443098
Reviewed-on: http://review.couchbase.org/29982
Reviewed-by: David Liao <david.liao@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>
Use our thread abstraction layer

Change-Id: I5d52d55ea603d8e53c9b39a94fa3029cdad50748