update depreciated functions

Deprecated in 1.8: list_entities_from_metadata() was deprecated by
elgg_list_entities_from_metadata()