Optimize APC objects and collections by defining an APCCollection class and increasing the number of APCObject vs serialized objects

Summary: Allow collections in APC to be stored holding an uncounted or APC array. Also extend conditions under which an APCObject is created.

Reviewed By: @elgenie

Differential Revision: D1417525