Merge tag 'v4.0.7' into develop

4.0.7 v4.0.7
Fixed issues with issue submitter and pastebin logs.
Added test for issue submitter.
Malformed airdates now raises a warning instead of a error so we dont clutter logs.

Updates now remove untracked files plus perform a hard reset on branch if first update attempt fails then trys to update for a 2nd time.
Git clean/reset performed before updates now if set from config to avoid update issues
Added FanArt.TV API package to libs, we now try to get images from fanart.tv if we can't find them on theTVDB or TMDB.
Small fix in code for TMDB API
Fixed for Fanart.TV API when indexerid is 0
download_file helper function now decodes unicode on the fly
Fixed sickragetv/sickrage-issues#117 - CensoredFormatter class func format code corrected.
Updated fanart api handler to use new v3 api scheme and re-coded metadata function to properly retrieve images including thumbs.
Fixed sickragetv/sickrage-issues#229 - check instance of actor or banner obj to be list and if not we throw it into one.
Replaced old poster and banner files with new custom sickrage poster and banner files.
Fixed sickragetv/sickrage-issues#238
Fix for sickragetv/sickrage-issues#237
Fix for sickragetv/sickrage-issues#236
Fixed incorrect flag image files for subtitle languages
Resized flags to 16x11 to correctly fit in language selector for subtitles.
Fixed sickragetv/sickrage-issues#245
WebAPI is now hard-coded in as enabled.
Added in migration code to convert old XBMC settings to new KODI settings.
Bumped config to version 6 for config migration.
Added in migration code to convert old XBMC settings to new KODI settings.
Bumped config to version 6 for config migration.
Merge remote-tracking branch 'origin/develop' into develop

Conflicts:
	sickbeard/config.py