Merge pull request #4 from stuycs-ml7-projects/jasmine

Jasmine
need to make changes to db error codes, added simple app.py
added some ajax urls to app.py
added gethistory ajax url to app.py
added placeholder functions to app, more notes in db
filled in a few functions in app.py
added comments to app
added a few more methods to app -- mostly favorites and playlists
basically done with ajax in app.py
completed the basics of app.py - all ajax done, simple everything else
small changes, elifs and spelling
Merge pull request #5 from stuycs-ml7-projects/sarah

Sarah
adding basic db functions
added more to db.py
more db.py - favorites
more db.py - done for now, added placeholder functions
removed useless file
changed base and added login page
added another placeholder
added more comments and playlist methods