ACCUMULO-3426 return this in setDurability
Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/accumulo
ACCUMULO-3427 Switch LoggingRunnable from log4j to slf4j logger
ACCUMULO-3425 Fix style/formatter/whitespace
ACCUMULO-3425 Use slfj4 logger variable substitution.
ACCUMULO-3425 Add documentation, remove inner classes, reorder methods.

Overall, clean up ThriftUtil and TServerUtils to not be such
monstrous classes full of spattered factory methods, undocumented
methods and odd interplay. Ensures that ThriftUtil only deals with
client-facing or client and server-facing code, while TServerUtils deals
with server-facing code only.
ACCUMULO-3425 General TServerUtils cleanup.

Add final modifier and add missing javadoc on startServer(...)
ACCUMULO-3428 Switch over to using HostAndPort more

Not a complete switch yet because the use of String to
track addresses is deeply engrained in lots of core code
still (ZooKeeperInstance, *TabletLocator and more).

This at least consolidates ThriftUtil and TServerUtil to
using HostAndPort consistently to match what the server
processes are using to start themselves (Master, TServer)
ACCUMULO-2815 wip.

Move around some more stuff

Rip out the doAs from the UGIAssumingProcessor and just track the principal.

Try to approach this as the client address is done. Pull the principal
out of the Sasl server and store it so we can use it to make
a proper TCredentials that will hopefully be seamless for
the other server processes to use (with the Authenticator/Authorizor).

Stub out a shell kerberos authentication token.

ACCUMULO-2815 Stub out a SaslConnectionParams for kerberos.

ACCUMULO-2815 get the fqdn for the host, not just whats in the HostAndPort.

ACCUMULO-2815 Stub out an invocation handler to update the principal from SASL into the tcredentials.

I think this should be an appropriate way to ensure that clients can't attempt to act
as a user other than themself. We can override whatever was passed in via the RPC,
rely on SASL/GSSAPI giving us the proper principal from kerberos and using that
as the principal for authorization (and skipping more authentication later).

ACCUMULO-2815 Wrap all thrift servers in the new proxy

Ensures that the TCredentials is updated properly before
any server interface implementation will see it.

ACCUMULO-2815 Start to stub out SecurityOperation changes.

Need to correctly handle users authenticated by SASL/GSSAPI
as well as the SYSTEM user.

Update the client code to pull the server principal to set up the SASL transport.

ACCUMULO-2815 Try to introduce a required admin user acct during init with security

ACCUMULO-2815 Use enum correctly.

ACCUMULO-2815 Throw the exception when security *isn't* enabled..

ACCUMULO-2815 More debug, working around Proxy classcast issues.

ACCUMULO-2815 Modify tserver factory methods to set up SASL servers.

ACCUMULO-2815 Fix some more proxy classcast usage.

ACCUMULO-2815 Got things working without TFramedTransport and with blocking sockets.

ACCUMULO-2815 log a todo for later
ACCUMULO-2815 Ensure that servers only see the kerberos principal
ACCUMULO-2815 Get client-side user override from kerberos
ACCUMULO-2815 Try to fix the user creation issues.