manager: remove MARK2_BASE
manager: remove unused imports
plugins: use a more general way to find plugin config

(it works for services now, too)