Apply golang fmt.
Handle NaN and Infinity in floatValue.Bytes(). Improve comments in Value API.
Change listValue to use sliceValue internally.
Change Actual() to return raw bytes instead of nil.
Fix object collation.
Check in doc for DP4 syntax changes.
Simplify Collate() for BINARY values.
Optimize parsedValue.Copy() for primitive types.
Use the endpoint "/query" for request handling.

All requests to other endpoints (besides /query) will result in 404: not found.
Also ensure that if a query request has fatal errors (e.g. missing required parameter)
it is not processed by the server.
Implement accounting API to use go-metrics

Implement the accounting API to use go-metrics
(https://github.com/rcrowley/go-metrics)
Make missingField() and missingIndex() return missingValue instead of Value, in order to be more precise.
Tweak variable names.
Restore unit tests to working condition.
Replace value.Bytes() with value.MarshalJSON().
Replace KEY with KEYS in most cases. Rename _site_ to _datastore_.
Make Type() prefer NULL over MISSING.
Port DP3 unit test case framework
Merge branch 'master' of github.com:couchbaselabs/query
Remove default implementations of MinArgs() and MaxArgs() from FunctionBase.
CREATE INDEX using LSM.

- added LSM token and corresponding grammar for CREATE INDEX to work with 2i.
- loadIndexes() function shall load both view-indexes and 2i-indexes.
- added test cases for secondary-index implementation.
- tuned the shape of returned key.