Html 314

Based on Jibesh Patra's work, but upgraded to work with latest master branch, and cleaned up so that it didn't have some of it's previous issues.

Note though currently if form validation fails, the pending uploaded file/s will be lost.