[NXCM-5316] Fix DefaultRemoteProxySettings#getRemoteHttpProxySettingsFor and add UTs

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5763] Change Restlet 1.x Name/Description/Documentation Title

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Remove deprecated MimeUtil component
Removal of deprecated security components.

As almost all of them were unused since the switch to
Shiro Guice Support (ShiroModule that we extend).
Still, by the fact that many UTs were not setup properly,
many UTs did pull in those deprecated plexus components
instead performing tests with code we use at runtime.
These plexus components are now removed, and
SecurityModule properly installed, that involved
some UT class hierarchy changes too. NexusAppTestSupport
is now the class that should be extended when
security is needed to be present in UT.

Another problem was pollution of "main" thread
Shiro related threadLocals, as when one test performed
login, the whole Shiro object graph remained pinned
in memory (as delegating subject tied to main thread
referenced SecurityManager and other stuff). Hence,
some UTs were able and were testing against
SecurityManager started in some completely different
UTs (as all the tests are run in single JVM).
NexusAppTestSupport (and few other classes in some
non-core modules) modified now, to properly clean
the thread local state of main thread.
Class hierarchy change was wrong

As it caused to have Timeline inited well before
test prepared "legacy" content.

Removed redundant AbstractTimelineTest as the two
timeline UTs needs different environment anyway.
[NEXUS-5763] Fix IT after rename

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Merge remote-tracking branch 'origin/master' into remove-deprecated-security
Merge remote-tracking branch 'origin/master' into remove-deprecated-mimeutil
Merge pull request #45 from sonatype/remove-deprecated-mimeutil

Remove deprecated MimeUtil component
Merge remote-tracking branch 'origin/master' into remove-deprecated-security
UT should cleanup after itself.
Improving test reliability

Assertions were made against flags
not certainly be true due to concurrency
Merge pull request #46 from sonatype/remove-deprecated-security

Removal of deprecated security components.
Merge remote-tracking branch 'origin/master' into nexus-5749-scheduled-tasks-dissappears

Conflicts:
	components/nexus-core/src/test/java/org/sonatype/nexus/NexusAppTestSupport.java
	components/nexus-core/src/test/java/org/sonatype/nexus/proxy/AbstractNexusTestEnvironment.java
	components/nexus-core/src/test/java/org/sonatype/nexus/proxy/AbstractProxyTestEnvironment.java
	components/nexus-core/src/test/java/org/sonatype/nexus/proxy/RequestFlagsTest.java
	components/nexus-core/src/test/java/org/sonatype/nexus/proxy/maven/metadata/mercury/MergeOperationTest.java
	components/nexus-core/src/test/java/org/sonatype/scheduling/DefaultTaskConfigManagerTest.java
	components/nexus-security-realms/src/test/java/org/sonatype/security/EmptyRoleTest.java
	components/nexus-security/src/test/java/org/sonatype/security/realms/SecurityAuthenticationTest.java
	plugins/indexer/nexus-indexer-lucene-plugin/src/test/java/org/sonatype/nexus/index/Nexus3578IndexerManagerIT.java
	plugins/restlet1x/nexus-restlet1x-plugin/src/test/java/org/sonatype/security/rest/users/AbstractSecurityRestTest.java