First batch of checkstyle changes.

Change-Id: I3438ca20153d2703ca1d5b9898cea5c5eb59ea90
Reviewed-on: http://review.couchbase.org/43128
Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>