packager minor changes

DependenciesPackage: clean, more localized locking, expose filter
Dependency etc: uniform version; handle more exceptions
FileBasedResourceAccess: create folders if needed to save file
RepositoryHelper#relativizePath fix for paths w leading slash

results were inconsistent if paths had starting slash
reverted PluginSystemAccessTest to original expected
fix PluginSystemAccessTest in pentaho5