docs(database): added to the database guide

Added to the database guide some more about using
the 'elgg_get_entities_from_metadata' function. Specifically,
searching based on 'metadata_name', 'metadata_value',
and 'metadata_name_value_pairs'