Uploader - module that adds files uploading functionality to other modules

Integration of files uploading (client-side):

Integration on client-side is possible through JavaScript function cs.file_upload()

cs.file_upload call will return object with 2 methods:

stop
Will stop uploading
destroy
Will stop uploading and will remove event listeners from button or drop_element elements

Integration of files uploading (server-side):

On server side any module should confirm files uploading by adding tag to uploaded file (and should delete tag, when file is not used any more).

Confirmation is realized with 2 triggers, that third-party components may run. Also, any uploaded file may have several triggers