Set expiration time for obsolete revisions to support automatic cleanup

Set an expiration time of 5 minutes when storing an obsolete revision, so that Couchbase Server
will automatically clean up old document revisions, instead of requiring a manual compact.
Merge pull request #445 from couchbase/feature/issue_372

Set expiration time for obsolete revisions to support automatic cleanup