change quoting for hash and adding ENGINE to DATABASES
Merge pull request #297 from edx/jarv/fix-xqueue-db-setting

change quoting for hash and adding ENGINE to DATABASES