Refactored router code to use promises and to be more readable. Began implementing mediator response handling.
Added unit tests for mediator response, upgraded should.js version.
Added to unit tests to check header values on mediator response, fixed out header handling and wrote some comments to describe the retun values of the newly introduced routing methods.
Added unit tests for .setKoaResponse()
Merge pull request #210 from jembi/mediator-response

Mediator response