swift as glance backend (#2)

* Add swift to mitaka glance configuration

* Revert "Add swift to mitaka glance configuration"

This reverts commit 4fdd899db23cdb9e26c158b74397ede79495a136.

* Added swift configuration to formula

* Update configuration with new variables and defaults

* Adding a swift test example with lots of configuration options.

* Add sample for swift in README

* remove empty else.

* Adding endif for if 'swift' in storage_engines.

* Update variable naming scheme to use swift.store instead of swift_store
diff --git a/tests/pillar/single_swift.sls b/tests/pillar/single_swift.sls
new file mode 100644
index 0000000..97d4fdd
--- /dev/null
+++ b/tests/pillar/single_swift.sls
@@ -0,0 +1,61 @@
+glance:
+  server:
+    enabled: true
+    version: liberty
+    workers: 1
+    database:
+      engine: mysql
+      host: localhost
+      port: 3306
+      name: glance
+      user: glance
+      password: password
+    registry:
+      host: 127.0.0.1
+      port: 9191
+    bind:
+      address: 127.0.0.1
+      port: 9292
+    identity:
+      engine: keystone
+      host: 127.0.0.1
+      port: 35357
+      user: glance
+      password: password
+      region: RegionOne
+      tenant: service
+      endpoint_type: internalURL
+    message_queue:
+      engine: rabbitmq
+      host: 127.0.0.1
+      port: 5672
+      user: openstack
+      password: password
+      virtual_host: '/openstack'
+    storage:
+      engine: swift
+      swift:
+        store:
+          # admin_tenants: 
+          auth:
+            address: http://127.0.0.1:5000/v2.0
+            insecure: false
+            version: 2
+          cacert: /etc/ssl/certs/ca-certificates.crt
+          # config_file: 
+          container: glance
+          create_container_on_put: true
+          endpoint: swift
+          endpoint_type: internalURL
+          expire_soon_interval: 60
+          key: someRandomPassword
+          large_object_size: 5120
+          large_object_chunk_size: 200
+          multi_tenant: false
+          multiple_containers_seed: 0
+          retry_get_count: 5
+          region: RegionOne
+          service_type: object-store
+          ssl_compression: false
+          use_trusts: false
+          user: 2ec7966596504f59acc3a76b3b9d9291:glance-user