Body parameters are now handled correctly.

Fixed a bug that caused body parameters to not be sent correctly through
swagger.js due to its inability to deal with body parameters
automatically.

fixes #1
Added test in de036280625f7ddb3372856f10dcf8ebe233cb58.