Initial draft of analytics
Fix syntax error
Fix nosetest errors
Misc bug fixes in analytics
Fix accumulation of messages in staging queue
Remove print statements
Fix minor style nits
Add tests for unlocking and minor bug fix
Merge pull request #219 from Cal-CS-61A-Staff/message-backup

Message backup