Add support to xml templates for uploading files

Allows to add enctype="multipart/form-data" to forms in xml view templates
Merge pull request #11 from javigomez/enctype_2nd_proposal

Add support to xml templates for uploading files. Thank you Javi!