added support for utf-8 & special chars:

Hi, 
i have updated the code to handle better utf8 filenames and special cars ("Capture d'écran.png" for example)

- regexp use unicode option
- python strings & arrays sent to javascript page are converted to json
- uploaded filename is slugified