Fix EZP-20491: 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.