Change SQL in templates.

Split downloaded and snatched
Use > instead of != in sql statement (speed improvement)
Today's Next Episode removes correctly if today's date is snatched or downloaded (fix)
Progressbar percentage calculated in python (speed improvement)
Episode totals changed so they no longer count ignored