Improve formatting & whitespace

Convert to 4-space indent; couchbase-java-client coding style.