added docs + fixed #264

+ fixed bug with calling UploadHandler->handleUpload() without actual uploading #264
+ added sample event listener code to the docs