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