FIX #2: Resolve deprecated maven properties

This fix provides the deprecated property shortcuts 'groupId', 'artifactId'
and 'version' instead of the regular 'project.groupId',
'project.artifactId' and 'project.version'
FIX #3: Updated exclusion handling for nearest dependencies

Exclusions are now considered after nearest dependency resoluion took place.
Added test case for managed dependency resolving
Reworking dependency management during resolving phase
Reimplemented dependency resolution using breadth-first search
Updated handling for optional dependencies and added test case
FIX #5: Updated exclusion handling
FIX #4: Updated optional dependency resolution
make the shell script more robust to run on more general conditions