Issue 2731 folder fields not updated in remote publishing

Fixes 2731 - also remotely publishes folders even if they do not contain content.  Also removes published folders from the folder cache.