Added MMS application validation and api changes

Added changes to MMS application api and added html5 form validation
and JS form validation.