Issue-331: Changing code to support basic authentication when it comes to accessing token endpoint.
clean up code format
Changed references from ClientDetails to ClientDetailsEntity, pending new ClientConfiguration class utility class from #335.
Addresses #331
updated issuer to more common deployment pattern for simple Tomcat instances, addresses #333
updated registration URI, addresses #321
redirect uri is now configurable via the client configuration object, addresses #326, #330