using FormData, paramname can be function now, filter by allowed extensions, url function has the file as parameter added

Added the ability to select the native functionality of the browser for sending data. In our case the usage for window.FormData instead of building the response manually.

paramname can be both function and parameter

Added the ability to filter extensions

Url has the file object passed as a parameter when it's a function