Added missing dependency to plone.app.controlpanel.
Added compatibility with deprecated batching used prior Plone 4.2.