Reusing functions across form in forms2

Problem:
If we have to use the same function across forms in forms2, currently there is no way to achieve that.

Proposed Solution:
A file called 'helper.js' stores the common methods in a window object This file gets loaded on the load of consultation page, we can then use these global methods in any form/control event Have a button on Implementer interface to add content to the file, the editor will have option to export or import this file.

But with the above approach we will have one more step of maintaining another separate file. So we are not implementing that.

@angshuonline @snehabagri @mksrom @vmalini @binduak