XWIKI-10252: Add and/or edit objects in a page

* Add an ObjectPolicyType enum type
XWIKI-10252: Add and/or edit objects in a page

* Change the structure using a SortedMap instead of a List