Reformat the code with astyle

Change-Id: I78f56946872aff6291b672abe844fa242d8ec2d9
Reviewed-on: http://review.couchbase.org/28763
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>