swift-mock: better name for Swift mock

We will be moving the client-side code out of this file and call that
code a Swift simulator.
swift-simulator: move code out of swift-mock (fixes #59)

This makes it possible to debug the code in the simulator: the code is
loaded using a script element during testing and this makes it
possible to set breakpoints like normal when the browser is paused
with a call to browser.pause() in a test.
swift-mock: move JSON wrapping out of swift-simulator
Merge pull request #70 from mgeisler/swift-mock

Push swift simulator code into client-side script
swift: add uploadObject method
container: add single-file upload (fixes #42)

This uses the HTML 5 file API to read the local file before sending it
to the server with a PUT request. As such, this only works on IE 10+
and other modern browsers:

  http://caniuse.com/#feat=fileapi

To support older browsers, we would have to use the Form POST
Middleware for Swift, please see #62.

The UI is very basic, see #66 about using a button with better
styling.
swift-simulator: add support for PUT
upload: add e2e test for upload modal