update depreciated functions

Deprecated in 1.7: get_entities() was deprecated by elgg_get_entities().