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>