Issue #147: Added mediators model.
Added get and getAll API endpoints +Tests.
Stubbed add endpoint.
Issue #147: Added tests for addMediator.
Refactored router code to use promises and to be more readable. Began implementing mediator response handling.
Issue #147: Added functionality for addMediator.
Merge branch 'master' of https://github.com/jembi/openhim-core-js into register-mediators

Conflicts:
	src/koaApi.coffee
Added unit tests for mediator response, upgraded should.js version.
PR #203: Only admin users should be able to add mediators.
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()
Added rerun permission validation before a rerun task gets created
Merge pull request #211 from jembi/rerun-permissions

Added rerun permission validation before a rerun task gets created - closes #189
Filter fix: Only set all channels when channelID filter not present
Merge pull request #212 from jembi/filter-fix

Filter fix: Only set all channels when channelID filter not present
Merge pull request #210 from jembi/mediator-response

Mediator response
Merge pull request #203 from jembi/register-mediators

Register mediators
Issue #215: Router error handling
Update README.md
Merge pull request #216 from jembi/unreachable-routes-status-fix

Issue #215: Router error handling
Merge branch 'master' of github.com:jembi/openhim-core-js into reports
refactored report generation