Add param match function to devquery, device_query util using it
instead of prefix match for custom parameter.

Add verbose and notfound flags to device_query.