Changed the test to enable -std=c++11

Change-Id: I27fa5f48bcaa0ee363f5ff1119c6a73b55f81226
Reviewed-on: http://review.couchbase.org/30131
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Move libmemcached to cmake build

Change-Id: I55a217daa5dfb32b94353dfee8ed48ea6de0fd60