Code review

Updated multiple pieces of code, split up into separate js files for
readability (thanks to users suggestions)
Added install files
Multiple changes

- Added HIST_ENABLED column to the M2_WIDGET_PARAM table. This allows
us to identify individual params to track for history.
- Breaking out individual widgets to js/widgets folder
Merge branch 'code-refactor'