Support embedded gometa server

Change-Id: I17b8e170b8e2fffd34a58e1d82d2267a3fb330f9
Reviewed-on: http://review.couchbase.org/44535
Reviewed-by: John Liang <johliang00@gmail.com>
Tested-by: John Liang <johliang00@gmail.com>