Changes stemming for weekend talk with JD

Loosely relates to local storage improvements

Changes:
* Cleared up nullability of storage context: local is never null, remote is never null (unless a bug, hosted repo casted to Proxy and invoked getter for remote)
* Cleaned up "lazy" creation of storage context, caches and other stuff in Repositories (hosted and proxy)
* Moved thread management from registry (made it simpler) to proxy repo who's thread it is (as we introduced dispose)
* Added Override annotations for early warning (to ease refactoring)
* Removed unused setters from Repository interface
* Removed unused and unfinished task filtering
Shuffled around when things needing repo ID are created.

Originally, it was at wrong place, as no configuration existed yet
for the repo
UT used "illegal" mocks, having null storage context.
Stopping thread always.

As dispose is invoked only when repo is removed
from the system, but in tests, when JVM is not stopped
but new instance of nx is started, old threads left in
dandling causing OOMs
Using ComponentSupport, optimize import
Using component support
Deprecated resource store utils.

Only one method used in only one place, so moved it in.
Updated packaging mapper.
Deprecated smart wastebasket.
Removed MetadataManager inferface, as this made a mess here
Merge remote-tracking branch 'origin/master' into context-and-repo-cleanup

Conflicts:
	components/nexus-core/src/main/java/org/sonatype/nexus/proxy/repository/ProxyRepository.java
	components/nexus-core/src/main/java/org/sonatype/nexus/proxy/repository/Repository.java
	components/nexus-core/src/main/java/org/sonatype/nexus/scheduling/DefaultRepositoryTaskActivityDescriptor.java
	components/nexus-core/src/main/java/org/sonatype/nexus/scheduling/DefaultRepositoryTaskFilter.java
	components/nexus-core/src/main/java/org/sonatype/nexus/scheduling/RepositoryTaskActivityDescriptor.java
	components/nexus-core/src/main/java/org/sonatype/nexus/scheduling/RepositoryTaskFilter.java
	components/nexus-core/src/main/java/org/sonatype/nexus/scheduling/TaskActivityDescriptor.java
	components/nexus-core/src/main/java/org/sonatype/nexus/scheduling/TaskFilter.java
Merge pull request #222 from sonatype/context-and-repo-cleanup

[2.8] Changes stemming for weekend talk with JD