Issue #46: Added agenda startup/stopping.
Added contact and alerts stubs.
Added config for nodemailer and sms gateway.
Issue #46: Forgot to add
Merge branch 'master' of https://github.com/jembi/openhim-core-js into error-alerts
Added shutdown listeners. Tweaks to startup.
Issue #46: Added mongoose schemas
Issue #46: Added poll config.
Added mongo queries for finding transactions matching status.
Issue #46: Stubbed the alerts test
Merge branch 'master' of https://github.com/jembi/openhim-core-js into error-alerts

Conflicts:
	src/model/channels.coffee
	test/integration/e2eIntegrationTests.coffee
Update tests post-merge
Merge branch 'master' of https://github.com/jembi/openhim-core-js into error-alerts

Conflicts:
	src/server.coffee
	test/integration/queueAPITests.coffee
Issue #46: Added additional tests. 'Broke' the alerts; will make it work
based on tests.
Merge branch 'master' of https://github.com/jembi/openhim-core-js into error-alerts
Moment dependency
Issue #46: Added matching on channel id, filter by failureRate.
Fixed the date from and status matching.
Issue #46: Alerts testing - switched to using an array of trx.
Added various tests and fixed/improved the existing tests.
Issue #46: Added Alerts model.
Issue #46: Added sending of alerts to a contact handler from the task.
Added storing of alerts post-send.
Tests for these additions.
Issue #46: Don't send alerts if user already received one for that day
Issue #46: Don't store alert when skipping
Issue #46: Test for alerts db entry.