adding sleep-assistant.com to allowed hosts
adding www. to allowed hosts
removed allowed hosts to test
properly set allowed_hosts
fixed negative indexing bug
fixed num_records = -1 bug
Merge branch 'master' of https://github.com/Hongxia/SleepAssistant into ArpanBranch