Add an option to restrict upload file widget to a single file.

To enable this mode pass 'oneFileOnly: true' as one of the options.