[dock] Implement environment discover using docker labels

The next release of BEAT environments will make use of docker
labels to provide the information the current describe command
returns (minus the os entry which is not currently used).

This new implementation of discovery uses these labels and thus
speeds up the process.

The original code is kept as a fallback method in case a node only
has images using the old build process.
4 jobs for 77_implement_label_based_search in 19 minutes and 48 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #185532
docker-build
build_linux_36

00:15:03

64.0%
passed #185533
docker-build
build_linux_37

00:14:59

64.0%
passed #185530
macosx
build_macosx_36

00:19:47

64.0%
passed #185531
macosx
build_macosx_37

00:19:43

64.0%