rewrite uploading and importing code

 * uploaded files are imported in a streaming fashion instead of after
   all files are finished uploading. closes #310
 * fixes an uploading crash. closes #309
 * adds ability to import and upload zip files. closes #48
 * auto queue happens server side. closes #336