Change handling of uploads to support zipfiles
Move upload tests to Rspec

PhantomJS doesn't seem to handle data URLs properly
Firefox bugfix