refs #11 #69
Migration code written for the new columns.
Update migration code
Use integer type in sqlite for bool purposes.
Update server.py to reflect changes in db.
Update view to reflect changes in db.
Use refactored code in view, update get_playlist in server.
Move validate_uri to utils.py
If asset's nocache field is 1 in the database, append '?_nocache='+str(time()) to the end of the URL (for URL only)
refs #11
validate_uri renamed to validate_url
Move default_duration to template()
Move out database code from server.py, refactor.
Refacored code into separate files.
Update view.py
Update server.py
Update misc/migrate.py to handle new database fields.