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.
Asset belongs in the active list if and only if the current time falls inside the timerange AND the asset's is_enabled field is set to TRUE.
fixes #69
Fixed issue with backbone that duplicated entries in db.
fixes #84
Set asset_id as primary key in database.
refs #84
PEP8 migarte.py
Merge branch 'is_enabled'