Add new base main.js for gold appand added jquery.validate.min.js file.

renamed main.js to old.main.js in Gold App
Updated with JQM form.

Added JQuery.validate.min.js

Renamed main.js to old.main.js and created new main.js with sample-main.js that was provided.
Added form validation, storeData and clearData functions
Merge remote-tracking branch 'refs/remotes/origin/WorkingBranch' into gh-pages
Merge branch 'refs/heads/gh-pages'