add base KV template

Change-Id: Ic801f1cb9be6d6d20d83b14dbfcb91c13e104e69
Reviewed-on: http://review.couchbase.org/28819
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>