changed MongoDB Model Name to be pluralized - also added new test for find-trans by applicationId
modified the test script to findAll
corrected method name for findAll on Transactions
Added applications unit test
Fixed applicationID bug in applicationsTest #26
Merge remote-tracking branch 'origin/master' into ohim-collection

Conflicts:
	src/applications.coffee
	src/transactions.coffee
	test/transactionsTest.coffee
Aplications and Transactions test refactoring
#35 issues in test cases
Refactoring of messagestore test
changed before/after hooks to beforeEach/afterEach
Enabled CORS
Updated/created development and deployment puppet scripts
getApplications() unit test failing
Updated deployment puppet config to better handle different node versions
Added fixes and default to allow this to run in the preproduction environment
Added travis config that allows preproduction to be deployed on a successful test run
Merge branch 'improve-puppet-config' of https://github.com/jembi/openhim-core-js into improve-puppet-config
Merge pull request #45 from jembi/improve-puppet-config

Improve puppet config
Attempt to fix travis-ci config
Added verbose option to deploy curl command