Added user model, API endpoints and unit tests.
Implemented API authentication and untis tests. Also altered all exisitng API integration tests to do authentication.
Added an integration test for expired requests.
Added a default root user for API access.
Added API authentication logging statements. Also fixed bad logging of authorised channel objects.
Merge branch 'master' into api-authentication

Conflicts:
	test/integration/transactionsAPITests.coffee
Merge pull request #75 from jembi/api-authentication

Api authentication