Add first implementation of service class lookup -- which works

Code to detect implementations shamelessly copied over from the
maven-serviceloader-plugin.