Plugin preconditions support.

Blindly loading all the plugins sometimes led to SIGSEGVs and other
nasty stuff due to ABI incompatibilities and such. All the new versions
of all plugins should include a 'validation' symbol specifying plugin's
load preconditions from now on.
Unindent anonymous namespaces.