Add function for form to autoscroll to top resp. first error.

This is done with jquery because it's much simpler than doing it with ext.js.