Fix capability selector in edit menu. (#1603)
Fix capability selector in edit menu. (#1603)

If a thing's capabilities changed such that the old selected
capability was no longer valid, the selector would not show the
correct capability as selected by default.
mozilla-iot/gateway,moziot/gateway,mozilla-iot/gateway,moziot/gateway,mozilla-iot/gateway,mozilla-iot/gateway,moziot/gateway,mozilla-iot/gateway