swift: pass extra headers to auth promise

This allows $swift to tell $auth about extra headers that should be
included when pending requests are retried.

Before, while the X-Auth-Token header was correctly added to
$swift._headers, it was not included when $auth retried the pending
requests -- with the result that the failed request would trigger
authentication again. For the cookie-based authentication in liteauth
this didn't matter (since the browser would send the cookie when the
request was retried), but it matters when we authenticate against
Keystone where we need to include the auth token with every request.

An alternative solution would be for $swift to update $http.defaults.
However, that would be changing global state and obscure the flow
between the two components.
swift: use $http.get shortcut method
swift: camel-case authUrl in auth credentials
auth-modal: show authUrl

This will make the form more similar to the Keystone auth form.
upload-modal: make label column wider

This is needed for the Keystone auth labels.
swift: add type to auth method

This is currently unused and will default to do LiteAuth
authentication.
swiftSpec: better separation of tests cases
swift: add Keystone auth

Not yet exposed in the UI.
config: add service for maintaining app configuration
auth: add Keystone support (fixes #82)

Configure this in the config.json file with something similar to this:

  {
      "auth": {
          "type": "keystone",
          "url": "http://localhost:5000/v2.0/tokens"
      }
  }
README: document config.json
README: add section on the same-origin restriction
Merge pull request #88 from mgeisler/keystone

Keystone authentication support
swift-sim: move $httpBackend config into commit

This is in preparation for making the simulator a real Angular service
that can keep some persistent state.
swift-sim: make SwiftSimultor an Angular service

This makes the simulator a singleton for the test run. Instead of
repeatedly configuring $httpBackend, the backend is now configured
once at the test start and the response functions consult the current
this.containers and this.objects as needed to compute their responses.

This makes it much easier to examine the state of the simulator at
runtime since the state is visible instead of being hidden inside
$httpBackend.
swift-mock: remove now obsolete commit function

Now that we compute the responses on the fly, the commit function is
no longer needed.
swift-sim: make listObjects a method
swift-sim: make listContainers a method
swift-sim: make deleteObject a method
swift-sim: make putObject a method