Re-template-ify a bit, prowl support

Move deluge connections back into templates (but not from_deluge as the
important fields cannot be overridden with set)
Add prowl support
Set priorities on download/cleanup so if aria2 fails, changes are not
made to deluge