Adding a common.js file

- Using RiseVision.Common namespace
- Wrote a Settings module for widget settings pages to use
- Settings module defines several validation utility functions