[UF-132] Some cleanups and refactorings on uberfire-js. JS native code moved from JSEntryPoint to UberfireJSAPIExporter