Convert custom attributes to macros.
Fix custom macros.
config: Fix += { }.
Config Conversion: Fix global macros requiring escape_str() call.

fixes #4703
cluster: Make the feature checks more robust.