Made changes as requested by Ian in the app.js file. Using a PREPARE function in the db_command function parramater as to prevent unwanted (or rather less expected) errors.
Merge branch 'features-luke' of github.com:BYU-ODH/hlrdesk into origin/features-luke

Conflicts:
	core/app.js