contrib: add Vagrant scripts for dev environment
Merge pull request #109 from larsbutler/vagrant

Vagrant scripts for dev environment
produce better errors in RestController

do not invoke RestController if the request url is not an object url
fixup query string in RestController such a way that is actually visible
Merge pull request #110 from pkit/minor_fixes

produce better errors in RestController
improve CGI environment handling

rewrote environment handling for REST requests (currently GET only)
now environment will be based on actual request data and headers
all sensitive headers will not be exposed to user application
more standards-compliant handling of SERVER_NAME and SERVER_PORT
Merge pull request #111 from pkit/cgi

improve CGI environment handling
change CGI environment for local objects

CGI requires passing the headers from request to the environment
up until now the local Swift object metadata was exposed through regular CGI headers (like CONTENT_LENGTH or HTTP_ETAG)
to give way to better CGI support all these headers were renamed with prefix `LOCAL_`
right now the following headers are exposed that way:

LOCAL_OBJECT - if exists, there is a local object present, if not - no other LOCAL_* vars will be present
LOCAL_CONTENT_LENGTH - size of a file
LOCAL_CONTENT_TYPE- content type of that object
LOCAL_PATH_INFO - path to the object in the format of `/account/container/obj`
LOCAL_HTTP_ETAG - etag for object (md5)
LOCAL_HTTP_X_TIMESTAMP - creation timestamp
LOCAL_HTTP_CONTENT_ENCODING - content encoding, if present
LOCAL_DOCUMENT_ROOT - path to object inside the instance `/dev/device`
LOCAL_HTTP_X_OBJECT_META_* - user metadata headers for object
fix bug in handling gzipped images

quite a tricky bug with gzipped length
was unnoticed because there was also a bug in test code, duh..
did a small rewrite of iterator handling and content_length handling
to make it easier to hunt such bugs in the future
Merge pull request #112 from pkit/bug_fix

fix bug in handling gzipped images
Merge pull request #113 from pkit/cgi

change CGI environment for local objects