Email Notifications

"This patch provides email notifications, with support for TLS and SMTP
AUTH. It provides the regular notifications on snatch and download. It
provides the ability to give a list of "global" emails, which receive
notifications for all shows and it also allows configuration of email
notification lists on a per show basis."

This is Sluggers pull request from
https://github.com/midgetspy/Sick-Beard/pull/428

I made the changes in the Development branch and changed a few things
to get it to work with the current version of SickBeard.  I've tested
it and it seems to be working great.
systemd service script added
made for all linux distros based on systemd package

belongs in '/etc/systemd/sickbeard.service'

after that you can simply use:

systemctl start sickbeard.service
systemctl stop sickbeard.service
systemctl status sickbeard.service
Add check if season thumbs exists before download
Return only True if all season_thumbs are saved
I have found that a significant minority of torrent metafiles begin with a not-so-magic  "d12:_info_length", rather than the expected "d8:announce". While this is not explicit in the spec, it is valid bencode and such files work fine with Transmission, uTorrent and official BitTorrent client.
- Modified torrent metafile validation to allow metafiles starting with "d12:_info_length"
- DRYed out the TorrentProvider class's downloadResult function, which was duplicating code from the parent function, as well as never using Bricky's modified validation code in the parent's _verify_download function
Optimize banner and poster
Tweaks to KAT provider:
- Search results are now sorted by number of seeders, so that torrents with more seeders will be prioritized (current order is random).
- Also now discarding torrents with zero seeders.
Adding support for Alternate Scene Names to the KAT provider's search
KAT provider's fuzzy search now works for season searches too
WindowsError is a subclass of OSError and need not be excepted

This fixes bug 2254: https://code.google.com/p/sickbeard/issues/detail?id=2254
Minor changes to pull before new build.
Tweak RawHD regex to accept mpeg2 and mpeg-2 in the filename.
Add missing ek.ek wrap around isdir check that was reported on the forums:
  http://sickbeard.com/forums/viewtopic.php?f=4&t=6829#p32324
PEP8 whitespace cleanup for postProcessor.py while I was at it.
Prevent NameError on Linux
Merge branch 'for_pull_requests' of git://github.com/SoulAuctioneer/Sick-Beard into pullreq9
Better quality choices availabe now, able to match dtvt quality
mechanism a little better.
Undo some changes:
* Inheritance: while it is of course more correct to inherit from
object, this is something that should be done application-wide, and I
think we'll wait for midgetspy's branch to take this step first.
* The downloadResult changes are good, but the reason for overriding
them in torrentprovider was because the base implementation saves first,
then checks.  This can create issues for torrent clients using inotify
for example.
Whitespace changes
Merge branch 'pullreq9'
Implement robots.txt to keep web crawlers out. -- Borrowed from SABnzbd :)
Merge pull request #657 from thezoggy/dev--more_tweaks_and_fixes

Minor changes to pull before new build.
PublicHD support. (http://publichd.se)