Dispatch onsubmit event before submitting forms

Also checks return value to see if the default action was prevented.
Move keyboard position if covering focused element
Update jshint options to report unused variables
Let hardware Enter key submit if no keys are focused
No flash for hardware key press in password inputs