fire an on upload event, added maxfilesize and minfilesize with error callbacks, check if error is function before calling it

Fires an 'upload' event when upload initially starts

added options for max file size and min file size with their respective error callbacks
error callback is called but other files that fall within the boundaries are added to list for uplad

also make sure error callback is a function before calling it (safety check)