mon: translate caps=[k1,v1,k2,v2] into [caps_k1=v1, caps_k2=v2]

The command matching needs key/value pairs.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
mon/MonCap: match param for entity (not name)

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>