Fix publish filtering

Clearing and pagination, fixes #2091
Unify association field settings, introduce interfaces to tag lists
Show association settings only when needed
Give a little more flexibility to the General::array_to_xml method by allowing it to handle object children