New DB function query_by_example

As posted on the mudlet forums, this function is for a more intuitive way to query for database content.