Added #body and #headers to DSL

This refactors the testing mechanism to support a flexible mock_app and
response pattern. Check spec_helper.lua for more information.