Add file input as an option in Builder

* Enable the user to select "File" as a webpage input type when using Code Builder.
* Mostly taken from http://forums.cibonfire.com/discussion/657/tutorial-adding-upload-functionality-to-your-modules but I placed most of the code in the model