Add a make target to reformat the code

The source code should be uniform to make it easy to navigate
through the code

Change-Id: I071f88909f6cf431f244c5ce802c0eac7e7dbe09
Reviewed-on: http://review.couchbase.org/28761
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
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>
Add ntohll and htonll

Change-Id: Iaf2f8c732ce3ad7ce345f3395eb8a1bd4894ba72