Add as_store_get_apps_by_metadata()

This provides a way to get all applications that match a specific metadata key.