ACCUMULO-829 Apply patch from Sean Hickey, with modification of moving utility class for creating tokens to core instead of server

git-svn-id: https://svn.apache.org/repos/asf/accumulo/trunk@1485798 13f79535-47bb-0310-9956-ffa450edef68