Merge branch 'development'

Post-Processor tweaks
  * Ignores folders that start with `_unpack` or `_UNPACK`
  * If unable to figure out the quality from the filename, fallback
    to the episode (snatched) status
  * Other minor fixes and fixes to logging / when checks are applied.
    Commit 96d64e65fbc724b0e79b42518f435e46be571e07

Change SB's git/source update routine to hopefully resolve the bug on
updating if you were more than 100 commits behind.

Cleanup Notifiers code. Pull #814 #823
  * Add **Always On** option for XBMC to control if sb should suppress errors
    when XBMC is offline or not.
  * Add logic to notifiers js to catch empty required fields to prevent
    unneeded testing calls.
  * Mention sending notices to Plex Home Theater (PHT), to use XBMC
    (since it mimics xbmc's json api) but with port 3005.

Update **tvdb_api** to latest. Pull #820

NZBGet update. Pull #821
  * Ported Prinz23's NZBGet 9+ appendurl + dupecheck/dupescore code from
    mr-orange's branch.
  * Fix username:password containing special characters.

Tweaked regex to filter out more subbed releases in case the indexer
did not assign them to the foreign category.
ex: `Bates.Motel.S02E07.REAL.PROPER.HDTV.XviD.HebSubs-DR`

Added `webm` to supported media extensions.

Update *rawHD* to support releases
like `Veep.S03E02.1080p.HDTV.DD5.1.H.264-NorTV`. Pull #826

Update local js for jquery 1.9.x compatibility and tweak _browser.js_. Pull #824
  * Added hack that allows users to specify `\\server\path` for a location
    and we load this as the initalDir browse path instead of previously saved value.
  * Set current path to what path we actually did load, in case the previous
    directory was not valid (we load parent folder instead)

Upgrade several js libs to fix IE related issues or to prepare for
upcoming jquery upgrade.
  * Upgrade _tablesorter_ 2.14 -> 2.16.3. Pull #827
  * Upgrade _jquery.form_ 3.35 -> 3.50 Pull #825
    * Fixed Config > Post Processing page not using ajaxForm.

Updated SB-Update message and the Config > Help & Info page to reflect
binary builds are now on GitHub instead of GoogleCode.
Merge branch 'development'

Cleanup Notifiers code. Pull #832
  * Safeguard notifiers from affecting the post-processing routine,
    catch and log exceptions.
  * Added notification support for Synology (notifies Synology DSM)
    and migrate settings
    If you are having problems getting this to work
    reference: http://forum.synology.com/enu/viewtopic.php?f=27&t=55627
  * Cleaned up logging entries, trying to standardize on what level we report
    and verbiage (not using contractions, prune out duplicate/excessive entries)

Cleanup release names and release group for releases,
also fix the re-scan process from overwriting existing stored release_name
so that we keep the original cleaned up release in tact.
  * Remove non-release group from release group such as RP and NZBGEEK
  * Remove known media extensions .avi, .mkv, .mp4, etc and download extensions
    like .nzb, .torrent from release name

Change detection non seasons packs

Change Roman numerals conversion (PR-589)

Change our scheduled tasks to use delay start instead of just kicking off
immediately to let SB finish it's start-up routines.
Also silent logging until the actual routine is ran,
prevent erroneous logging when we were just checking to see if it was time
to actually start the scheduled task.

  * We delay the currentSearch (rss) by 5 mins
  * We delay the autoPostProcesser by 5 mins
  * We delay the backlogSearch (limited/full) by 17 mins
  * We delay the properFinder/showUpdate by 1 cycle (1hr)

This overall should help let slower NAS systems finish updating
/ spin up drives / establish network connectivity before SB starts its logic.
Change stricter Roman numerals and raise instead of defaulting to 0

Roman IV returns 4
Roman IIII is not correct and raises ValueError
Rearange/change SQL for easier (compare) read. Split snatched, downloaded.

Split downloaded and snatched
Use > instead of != in sql statement (speed improvement)
Use same variable names and sql statements

templates:
Progressbar percentage calculated in python (speed improvement)
Change set auto max number episodes for sorting downloads

webapi:
fix snatched + snatched_proper quality counter
Fix BTN search parameter on season search for single episodes (backlog)
Fix picking season/ single results

Pick season pack over singles if season is available in wanted quality
* Determine highest available quality by checking against wanted quality to prevent ignoring a season pack in the quality you want because a higher quality is available even if you don't want this quality

Pick single episode and not season pack if only a single episode is needed and is available
* Determine wanted episodes in a full torrent season pack (instead of adding all episodes to the result) and check against single available results
Add start time check to scheduler and remove it from properFinder and showUpdater
Change set lastRun to only check start_time after another cycleTime

Makes it also distributed run between start time and  start time + cycleTime
Add check, only consider full season packs if season is over for 7 days

Prevent full season pack download if season is not over (All providers)
Prevent full season pack download for last episode if the season is posted before last episode (Torrent provider)
Fix not setting status if show location is missing but sickbeard.ADD_SHOWS_WO_DIR is set
Change setting status to UNAIRED for future episodes (GC-2397)

Only set status to UNAIRED if current status is SKIPPED, UNAIRED, UNKNOWN or WANTED,
should prevent re-downloading of early releases that are already downloaded and deleted (status IGNORED) or archived
Fix release name not set on air by date show
Add safe replace existing file is larger but new file is proper
Fix omgwtfnzbs findPropers
Merge branch 'change_roman_numerals' into development

* change_roman_numerals:
  Change stricter Roman numerals and raise instead of defaulting to 0
Merge branch 'change_home_api_stats_SQL_order_combine' into development

* change_home_api_stats_SQL_order_combine:
  Rearange/change SQL for easier (compare) read. Split snatched, downloaded.
Merge branch 'fix_pick_season_single_results' into development

* fix_pick_season_single_results:
  Add check, only consider full season packs if season is over for 7 days
  Fix picking season/ single results
  Fix BTN search parameter on season search for single episodes (backlog)
Merge branch 'add_start_time_to_scheduler' into development

* add_start_time_to_scheduler:
  Change set lastRun to only check start_time after another cycleTime
  Add start time check to scheduler and remove it from properFinder and showUpdater
Merge branch 'fix_release_name_on_air_by_date' into development

* fix_release_name_on_air_by_date:
  Fix release name not set on air by date show
Merge branch 'add_safe_replace_smaller_but_proper' into development

* add_safe_replace_smaller_but_proper:
  Add safe replace existing file is larger but new file is proper