make loading of kdb less invasive

(broken plugins somewhere in the KDB yielded an exception)
fixes #136

allow to add SHARED_SOURCES
+ improve docu of add_plugin
some basic testcases for resolver variants