fixed random id generation. Now uses sqlite3 cursors and rowids.
Merge branch 'master' of https://github.com/Line-Up-Admin/CSE-403-Spring2014