Blueimp fixes to handle custom input field names

I still added the new configuration value mapping.input_names but keep backward compatibility
This keys does not required and default to 'files' like original behaviour

Also I made small refactoring with parts related to BlueimpController