Import file uploading through rails.js and other import/export fixes