Convert Gadget definition namespace to use ContentHandler

The version requirement is now upgraded to 1.24+, since
that was when the JSONContent class was added.

Also uses DataUpdates instead of hooks.

Bug: 69318
Change-Id: Ie53dc5d9dbb585922cc2afaf6cf672583b784cab
Merge "Convert Gadget definition namespace to use ContentHandler" into RL2