large refacto to use latest version of jquery file upload and django 1.5+