Allow to declare a gadget with a scope (local ID).

Add methods to fetch an existing gadget from its scope and drop the scope
reference.
Declare the method 'declareGadget'.
Explicitely make local renderJS parameter non JSLint compliant.

It may help developper to see all properties which are not part of the API.