minimal changes to support swift-2.0.x

the main change is in storage policies
this patch allows object and container middlewares to take advantage of the default policy
the patch still has no proper support for other policies, will be added later