Issue-#146: Allow option to send flat file.

This change allows a user to pass a property of 'flatData: true'
to $upload.upload config which will skip the form data encoding and
send config.file as config.data.