Revert middleware optimizations and index SaasDocument by hosts
Version bump to 0.3.2
Regenerate gemspec for version 0.3.2