Add server side form validation for the upload form

They are only shown if javascript is disabled or for some reason the form validator plugin stops working.  Still a good idea.