Update meta data for release 2.0.2

+ make reformat

Change-Id: I96fb6f6b356bab83b8f8ab670aeb0e04c8d865b2
Reviewed-on: http://review.couchbase.org/23721
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Reduce CPU consumption of event loop

The do {} while is changed to a while loop to avoid calling
sendmsg the first time if there isn't any things to be sent
(we use write availability to trigger callbacks during
backoff from multiple readers)

Change-Id: I37a7fe1ef45f846f5ce69f25c62078c93bf7f061
Reviewed-on: http://review.couchbase.org/23742
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Add man page describing the library

Change-Id: Ic562db3fba921974c903cd6259efd22ae7a1a6f0
Reviewed-on: http://review.couchbase.org/23266
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
CCBC-166: Fix manpage generation

We shouldn't assume that everyone who builds libcouchbase
has a working setup of a2x (and it's painfully slow on macosx
if installed through homebrew). A better solution would be to
generate the files on the developers machine and commit the
generated manpage.

Running "make regenerate-mapage" rebuilds all manual pages
and create a BSD version and a SVR4 version of the man page
(they use different section numbering). Given that BSD don't
structure the manpages into more sections than a number, write
your manpage in the "svr4" layout and it'll be moved to the
correct subdirectory during "make regenerate-manpage"

Change-Id: Id5d67e08527cdc242480328e96a70f9377815eab
Reviewed-on: http://review.couchbase.org/23749
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Handle cases when manpages gzipped before install

Change-Id: Ifeb9bbfc64087595898d3b1af64767edd702ea4f
Reviewed-on: http://review.couchbase.org/23770
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
CCBC-153 Reset internal state on lcb_connect()

This patch allows to use lcb_connect() multiple times to implement
reconnecting using the same lcb_t instance.

Problems
========

* After connection error all subsequent calls to lcb_connect() lead to
  segmentation violation.

* Index used to iterate over list of backup node names wasn't reset

* For system which doesn't use lcb_wait() to execute the IO loop, the
  initial timer wasn't set, so that they might wait infinitely if
  error callback wasn't triggered.

Solution
========

* Reset backup node index on lcb_connect() call

* Remove connection logic from wait.c and make it generic.

Change-Id: I63a0f6591e10c103d4a3b4de656623646aaa5c62