Refs #159. Adds support for tracking video duration.

Also minor whitespace removal and removes Gunicorn, since it caused strange timeout issues with SSL enabled.