name patterns and other things

I don't expect you to actually integrate my branch, but i thought you might want to have a look. maybe there's a few things you could use. 

I have a few plans ofmy own for this fork of the sickbeard piratebay edition, and some free time on my hands, so i'd like to try a few things:
* [POSTPONED] switchable db backends (such as mysql) for large libraries
* [POSTPONED] performance, as I have this running on a NAS, with a rather large library
* [IN PROGRESS] better support for documentaries, which i consider broken in the original releases
* [IN PROGRESS] enhanced name handling
* [PLANNED] recommendations, trending etc. (from trakt for the time being)
* [PLANNED] full library sync with trakt
* [PLANNED] twitter provider (eztv_it)
That should be enough for the time being.

Current Status:
* Implemented basic episode name searching for documentaries and specials (configurable):
  This version calculates a set of possible filenames for all relevant (documentaries, specials) episodes. This requires CPU and memeory, so beware.
  On the plus side, quite a few scene names typical for documentaries are now recognized. backlog searching so far only works in nzbmatrix though.
* Episode page:
  This is currently mostly useful to see which names are generated for a given episode
* Invalid names handling:
  filenames that are not matched are saved in the database. if the file is scanned again later, show, season and episode numbers are retrieved from that table
* Manage invalid names page:
  interface to set episode information for unmatched file, delete them etc.
* Main Page
  implemented lazy loading of images, easier on mobile clients, esp. with a slow server