Fix EZP-20640: eZScriptMonitor - memory limit overflow.

- Allow optional limit parameter in eZContentObjectAttribute::fetchSameClassAttributeIDList(),
- ezContentClassAttribute::initializeObjectAttributes(): decrease the number of content objects per batch, prevent memory limit overflow.