Support libuv 0.8

Change-Id: I85a6a98e7e9a96756147e2f30b14d2e325898187
Reviewed-on: http://review.couchbase.org/28622
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
CCBC-258: Set inside_handler on socket_connected

Previously we were always using SASL auth, and as such, we wouldn't
flush packets from the cmd_log using server_send_packets (which calls
apply_want). Apply_want shouldn't be called more than once per event
loop entry - so this sets and unsets the 'inside_handler' flag.

Change-Id: I137dcb8c18eafbee63b8a4f3861238d4f54c3bfe
Reviewed-on: http://review.couchbase.org/28612
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Render git revision in text to display easier

Change-Id: I598146d1c40bf0eb41ffe6cd02ed587c49327a91
Reviewed-on: http://review.couchbase.org/28640
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>