Inclusion and nested fields tests

Change-Id: I38a49293eee8e2061f92704812b4359abb442c2f
Go formatting

Change-Id: If6150d7cc4e52990b01e51c1daebcffae09f2dc8
Moved testdata to tests/testdata and updated corresponding unit test files

Change-Id: I95dedc48bb4ffa886a9f4aaf47a7c5dca9ff222a
Support getTopology as HTTP request from index manager

Change-Id: Idcbb2d0c985c7d7104f3155f79b28bd0e1a8d5be
Use constant from projector regarding error condition (instead of hardcoding string)

Change-Id: Ib0a4b5c0f69a6c2bc7eb6f4f2e7e66f85d851675
Filter out timestamp on a per-node basis before calling Projector MutationTopicRequest

Change-Id: I24246bcf8b6ea2502fae8768f49c8b01e12e5dd5
Stream Manager validates active timestamps from projector upon MutationTopicRequest.   Retry
if vbuckets are not in active timestamps.

Change-Id: I35fbae6123c29a2fe69ea167b72f626d37acb96a
Validate timestamp after MutationTopicRequest only when there is no error from projector.

Change-Id: Ie2175166dc11ec643723cdb78d2a21b491805a49
IndexManager uses an embedded gometa server for storing metadata.

Also see gometa change for EmbeddedServer list http://review.couchbase.org/#/c/44535/

Change-Id: Ief8f0036b80eec891d2a27fe825f7530fcfd6f86
Add MetadataProvider for datastore -- used for metadata request and notification

Change-Id: Ifada65a6e545476a014c49f2e14ba1d093722c5a
Gometa API changes

Change-Id: I3400349e6dac4c09c640294ab65822bcee5e42bc
MetadataProvider - update index instance state according to topology

Change-Id: I4c3520e9ad4e9cc52e10e20be0a8d19a8f5ad9db
Added index operations tests and support for cluster config based execution

- Added test cases related to Index create, drop and combinations
- Changed testdata location to Amazon S3 storage
- Maded test execution config based using -cbconfig switch

Change-Id: Ib913246958365b98f1ea2c27f367ab18bc8c871c
Fix Build Timestamp Computation and Comparison

KV stats has first vbucket with vb_0 rather than vb_1.
Also fixed the comparison to not ignore 0 seqno. Earlier the
timestamp used to be a fixed size array of 1024 but now its
init with correct number of vbuckets.

Change-Id: Ic7a065096b265ca3bb98c3306e5563cba17442ea
Fix default cluster address in indexer

Change-Id: Id2ddde1efa00dd660c76da915a94a8c0c1bb5a7c
logger interface for sub-components.

Change-Id: Idacb0d66c15cf211f54d422a828d323cd50ac887
Projector: consolidate endpoint and dataport-client.

- dataport-client is folded into endpoint routine.
- fixed configuration parameters and test cases as well as well.
- dataport/client.go is ignored.
- only one connection with remote node.
- connection and transport is directly managed by endpoint.
- endpoint routine consolidated `reqch` and `kvch` into single `ch`.
- vbucket-routines will now close blocking endpoints based on configuration.

Change-Id: I9db8c2c1b032e9e9d5f81b45bb192059095bef22
CBIDXT-310: index.Count() for secondary index.

At present indexer iterates on index to measure the count.

Change-Id: Ic60d338f7383279b740afee90f57ae9f417fb69d
CBIDXT-309: Rename LSM to GSI

Change-Id: I5357f2cdf897e56f6df832b1f3cd6e1e81cce92b
Move logging to Debug or Trace.

- projector application takes -logFile switch to log output file instead of
  stdout.

Change-Id: I72c0a613669eed90aa8d8bc73e6472f3fad59765