Improve the config deprecation system.

Attribute values can now be deprecated (e.g. `<module name="m_halfop.so">`).