Moved existing CheckSection to their perspective variable settings to see what was missed/messed up. Corrected PLEX to Plex. Did PEP8 (whitespace/unusedvariable) fixes as well.
Added missing CheckSection: BTN, NZBs, NZBsRUS, NZBMatrix, TVTORRENTS, Womble, Notifo, Boxcar, Pushover, Libnotify, Trakt, Newznab, EZRSS, GUI
Moved the metadata related chunk of code up with the rest of the 'General' config settings. This way now people can just add at the bottom of the list rather than it being buried in the middle.
Fixed the config page for windows builds
webserver: change saveSearch() to pack arguments into a dict

it is cumbersome for forks / future development to manually add variables to this function
webserve: change the way sab_host is normalized into a / terminated URL

this will lessen the amount of work forks / future development will need to do when adding new URL options
woops: didn't quite get this right when backporting

these functions need to return a tuple and we need to check return value before appending a message
Support Plex multi-episode naming

Plex has a different idea of suitable multi-episode naming than those currently supported by Sick-Beard. Essentially it requires the format to be "S01E01-E02", which is not achievable in Sick-Beard currently. This patch makes that pattern achievable. The new multi-episode naming scheme is called "Extend (Limited, E-prefixed)" as to not be Plex-specific in case something else has a similarly limited parser. The Plex naming rules are described here: http://wiki.plexapp.com/index.php/Media_Naming_and_Organization_Guide#Multiple_Episodes_in_One_File
The regular expression pull_regex did not reflect the fact, that Git
could have been translated.
Add UTF-8 encoding to the config.ini. This prevents people destroying their config when setting a field with a unicode value. (easy way to test, go set your tvdownload dir to a unicode folder.. watch you end up with a 0byte and hung python on it crashing when writing.. this solves that) -- note that related logging messages do need to be updated to reflect this change.. but we can deal with that later.
 Modified it so that we could just 'reload' a page of the formwizard. This was needed as having a fixed height created a pretty ugly whitespace when switching from predefined template to 'Custom' or vice versa. (show the qualities or not). Now it will resize the outerwraper and make things look a bit nicer. Also cleaned up some JS in the newShow file to make jsHint happier.
use "public" update_library method for Xbmc
notifiers: use JSON for xbmc (>=frodo) notifications and library updates
Change how Change Show cycles through shows

Small change to displayShow.js that makes it possible to cycle through
shows by clicking Previous/Next. Automatically jumps to the First or
Last show in the list if it reaches the end.
Fix the SQL query just like we did previously to prevent seasons showing up in funky order when they are over 1000.
Merge branch 'JSON' of https://github.com/wsnipex/Sick-Beard into dev--xbmc_json_cleanup
Cleanup the notifiers order so that it matches the config ui page (aid in testing changes), fixed notifio from being done out of order (was missing from the internal notifiers list).
Stop NMJ from always sending notices (was not respecting the enable checkbox). Document NMJ's abnormal library routine to fire on notify_download rather than when doing a library update. Prob will fix this when I go back through all the notifiers to fix the numerous bugs I've discovered.
Revamp XBMC notifier to branch logic to use either the legacy HTTP API or the newer JSON-RPC API when applicable. Cleaned up the config notifications and test functions response to better handle multiple hosts. Now we only send the library update commands to the FIRST xbmc host listed if there are multiple servers provided. This was needed to keep SB from messing up XBMC setups that use sql.
Tidy up logging message for failed api detection.
Fix for Newznab providers when searching for a show without a tvrage id we use the name of the show. If the show name is more than one word we are using a `_` as our delimiter which works fine unless the NN provider uses sphinx.. as the underscore then is used as part of the show name.. thus we always get back no results. We should just use `.` as it works for both sphinx and non sphinx servers. Tested this out on nzbs.org / nzb.su (sphinx) / sbi (non sphinx).