Fixing type detection client and server-side
Merge branch 'master' of git://github.com/thecodingmachine/html.widgets.jqueryfileupload