location for transmission completed downloads

(untested)
some fixes
correct path separator
Unit tests for assume_quality
Merge pull request #124 from tarzasai/transmission_filename

Transmission filename
Fix Python 2.6 compatibility

Use of assertRaises and therefore assert_raises as a context manager
was only enabled in Python 2.7 and never backported.
http://docs.python.org/2/library/unittest.html#unittest.TestCase.assertRaises
Merge pull request #133 from theaquamarine/test_aq

Unit tests for assume_quality
Fix "FutureWarning: The behavior of this method will change in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead." in api_tvdb
Fix crash in download_entry()

download_entry() would crash when getting a file with no content-type
eg http://www.speedtest.qsc.de/1kB.qsc from the tests. Now defaults
to unknown/unknown
Implement TODO in download_entry() - filename from URL

If the end of download_entry() is reached and no filename is set,
get one from the URL.
Requested tweaks
Merge pull request #134 from theaquamarine/download

Download patches
Change back to if entry.get('blah')

Handles false-y non-None values in a more helpful manner.
Fix error about sqlite thread access. fix #2352
Add -L and -l short options for --loglevel and --logfile refs #2359
Fix generate
Set isPermaLink = false in output rss
Interval plugin cleanups
Add download_auth entry field which can contain custom requests authentication handler for download plugin to use
Switch rss plugin to use this field to pass auth info to download plugin
Make sure simple_persistence never leaves a session it creates open