Refactor. Model schema moved to assets_helper.py from db.py and queries.py.
Fix datetime issues with Safari. refs #85
Validate start and end datetime order. fixes #85
End time is the same as start time when adding new asset.
Disable cache option is hidden under Advanced section (only when asset type is image and it has URL).