User profile edit form: now it's prevented from submit and windows is scrolled to display error/success message

This should probably fix #196, because if form is submitted, there may be not enough time for changes to be submitted, which may cause absence of changes.

I've added `e.preventDefault()` call to submit handler (such line is presented in every handler except this one) and added scrolling for better UX.