Find the index of a gadget using a gadget id.
int - index of id. if not found, returns -1
IPTMyPortalGadgetContent Interface | com.plumtree.server Namespace