Implemented EZP-20816: Added new index on ezcontentobject_attribute

Implemented index in mysql, postgre and sqlite databases
Completes https://github.com/ezsystems/ezpublish-legacy/pull/772