View-query and pagination interface.

lib/couchbase.js:
  - Importing query.js module.
  - _init() callback to query module.
  - view() API does not take a callback and returns a Query() instance. We
    expect users to do,
        var q = cb.view("designdoc", "myview", queryparams)
        q.query(callback);

lib/http.js:
  - moved parameter validation under view() API to query.js, since we need to
    validate query parameters at several places.
  - view() API just returns the Query() instance.

lib/query.js:
  - implements the following query API.
      q.query(queryparams, callback)
      q.clone(queryparams)
      q.firspage(queryparams, callback)

  - implements the following paginator API.
      q.isNext()
      q.next(callback)
      q.prev(callback)

Added test cases for query in 08-query.js
Added test cases for pagination in 08-page.js
Updated test cases for 08-view.js

Change-Id: Ic0cc58d16beebd3454fa35856463a8879e53e126
Reviewed-on: http://review.couchbase.org/28615
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>