Added a beforeall event with files and a filelimit.

Filelimit is there so you can set the amount of uploads at a time, for example if you want to limit it to just 1.
The before all event is there so you can do something with the uploaded files before the start of uploading.
Merge pull request #507 from windvlaag/master

Added a beforeall event with files and a filelimit.