Added documentation

Change-Id: I402dbb0ceea4e297bee7bc514529e2b54774b06c
Reviewed-on: http://review.couchbase.org/42312
Tested-by: Jeffry Morris <jeffrymorris@gmail.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>