Added unit test for get transaction by id authorisation.
Added unit tests for transaction listing authroisation.
Added unit tests for testing authorisation on admin only API calls.
Refactored transaction test so that the OpenHIM server isn't started and stopped all the time.
Refactored trasnactionAPI unit test suite to be neater.
Refactored how unit test do user auth to make it a more reusable. Random other neatness refactorings.
Fixed channels API authorisation and added unit tests for API authorisation checking.
Added API authorisation unit tests to clients API.
Added authorisation unit tests for the users API and added a missing user API unit test.
Removed unneeded console.log and changed some generator unit test names to be more consistent.