Fixes #4215 adds elgg_get_entities_from_attributes()