Clean up the plugin detection and comment on how the detection works
Signed-off-by: Chris Rizzitello <rizzitello@kde.org>