Uberfire JS API improvements: new features on JS Editor and the new JS R...

...esource Type API
same comment as before. need check if ithey exists and if what type its (JS api everything can be a function too)