- changes for Elgg 1.9
- added: support for more entity types