Fixes #414 Add index for getting a doc with doc and rev id

Add an index on revs table for getting a document with doc and revision ID.
Merge pull request #423 from couchbase/feature/issue_414

Fixes #414 Add index for getting a doc with doc and rev id