Fixed issue with getFiles listing 'items' instead of 'files'
Fixed an issues with field names representing file properties.
Merge pull request #1 from shainp/master

Fixed a few issues in the file.js module that prevented it from working with file uploads.