partial implementation of fileupload

* file upload preview is not working
* progressbar is not working
* manage the json return
=> may be we have to create a modal view for the upload process ...