=pro load sample builds with project dependencies

* load sample builds from their definitions and replace library dependencies with project ones
* remove redefined sample build definitions
* test osgi sample by running a maven command
Merge pull request #16201 from 2m/wip-samples-with-project-deps

=pro load sample builds with project dependencies
! akka-cluster: metrics collector improvements - resolve #16121
apply review 1
resolve akka-sample-osgi-dining-hakkers: build depends on missing artifact #16368
osgi: import sigar package as optional
introduce metrics extension