Allow gadget instance to use new API : getSelfGadget.
Pass gadget_id to route handler function so it can pick up gadget
instance easily.
Extend test.