Elgg/Elgg — pull request #7600 by mrclay (2014-12-03 16:25:05+00:00)
Title: perf(annotations): increased performance of egef_annotations

(freshly rebased version of #7595)

The default behaviour of elgg_get_entities_from_annotations was
different from all other elgg_get_entities_from* functions.
This also caused a performance issue on large databases

Fixes #6638