added os import
updates to support Django QueryDict, MultiDict from webob and werkzeug. Added convenience parse function