added tests for checking security
update package.json for tests
updated queries with '_id'
set default response '404' for unsupported requests
updated tests up to the new _id
Update README.md
updated queries with '_id'
set default response '404' for unsupported requests
updated tests up to the new _id
fixed error in tests
Merge branch 'master' of https://github.com/invercity/elastic-search.git
added patientlist with options 'startDate', 'endDate', 'encounterType'
patientlist improved with access checking
Update README.md
fixed bug with rivers
Merge branch 'master' of https://github.com/invercity/elastic-search.git
fixed bug with fields 'display'
added option 'patient' for obs
default config for remote mysql server
added CORS support
added CORS function
Merge pull request #4 from invercity/master

All functions finished