More code cleanup of ReplicationCliMain
Removed utility methods that are just forwarding to other utility methods.
Removed methods that have been ported to com.forgerock.opendj.cli.Utils.


ReplicationCliMain.java:
Replaced all protected / private.
Used static imports for utility methods.
Extracted methods addBaseDNs(), createTopologyCache().

ServerLoader.java:
Extracted methods isLdapEnabled(), isLdapsEnabled(), isStartTlsEnabled()

Installer.java:
Extracted method createInitialLdapContext().

git-svn-id: https://svn.forgerock.org/opendj/branches/opendj3-server-dev@11194 41b1ffd8-f28e-4786-ab96-9950f0a78031
Further code cleanup.

ReplicationCliMain.java:
Used static import for ReplicationCliReturnCode.
In execute(), simplified the code + improved SubcommandChoice enum.
Extracted methods toSingleLine(), getSubcommandChoice(), execute(SubcommandChoice, ReplicationCliReturnCode).
In promptIfRequired(), used askConfirmation(LocalizableMessage, boolean) to simplify code.

git-svn-id: https://svn.forgerock.org/opendj/branches/opendj3-server-dev@11195 41b1ffd8-f28e-4786-ab96-9950f0a78031
Code cleaunp.

Code review: Ludovic Poitou

JmxClientConnection.java:
Removed all process*() method but processSearch() - totally unused or only used by tests.

JmxPrivilegeTestCase.java
Removed tests that are testing ded code (never used in production).

git-svn-id: https://svn.forgerock.org/opendj/branches/opendj3-server-dev@11196 41b1ffd8-f28e-4786-ab96-9950f0a78031