created getImageData function
created preliminary postImageData function
factored out getImageData and postImageData into own files, renamed form.html to uploadDemo.html, cleaned up code
allowed for iterating through each file input in demo
Merge pull request #11 from rpazyaquian/defining_image_data_functions

Defining image data functions