NEXUS-6277: Minimal optimization

Huge performance gain for an edge case, when accessed
repository does have needed permission, but in the same
time it's referenced by (potentially huge) group reposes
where it's member.

So, split the authc process in two, first check
perms of the given repository, and if not success,
then start to do heavy lifting by recursively gathering
all the perms of groups (and groups of groups) where
repo is member directly (or indirectly) and evaluate
the recursively collected permissions.
NEXUS-6277: Even better improvement.

Stop-fast, in a moment first successful authc happened.
NEXUS-6277: Optimization added for router too.

As it was suffering from very same problem as plain
reposes.
NEXUS-6277: Deprectated unused methods

Unused after changes in related commits, and
also these methods are not performant.
NX-163: remove plugin manager (step 1) - move registration of static resources to plugin module, use mediator to register repository types
Concurrent access fix

Similar problem as with NEXUS-6243, if concurrently invoked
this method my cause EhCache to puke.
Merge pull request #354 from sonatype/NEXUS-6277-autch-slowdown

NEXUS-6277: Minimal authc optimization
Merge pull request #358 from sonatype/NX-163-remove-plugin-manager-step-1

NX-163: remove plugin manager (step 1)
Merge remote-tracking branch 'origin/master' into timeline-kazuki