Add --search value to search args in options/presets
Added --check-duration option

Use of --check-duration will display INFO message with recorded duration
(as determined by ffmpeg/avconv), expected duration (from BBC metadata)
and difference between them (recorded - expected).  Negative difference
means recorded duration is less than expected duration. Applied to RTMP
streams only.
Return non-zero exit code for download failures

Exit code will be total number of failed downloads.  The value should
only be tested against zero since some non-zero exit codes are used
to signify other error conditions.

Closes #33
Changes to --quiet, --silent, --debug and --verbose

--quiet now applied to ffmpeg/avconv/atomicparsley/id3v2. --debug and
--verbose now applied to ffmpeg/avconv. --silent is now separate option.
--quiet now only suppresses output from helper applications. --silent
suppresses all output except PVR download report. --silent can only be
used on command line. It can't be saved in preferences or PVR searches.

Also added --ffmpeg-obsolete option to prevent --quiet, --debug and
--verbose being applied to ffmpeg/avconv.  This is to accommodate users
with obsolete versions of ffmpeg/avconv derived from source branches
before 0.7. Also prioritised --debug, --verbose, --quiet for mplayer
and rtmpdump.
Make --versionlist value matching case-sensitive

This should make it more clear why downloads fail, e.g., because
"SIGNED" was entered instead of "signed".
Web PVR: Remove quotes from "best" in recording tab
Web PVR: Make Search tab generate relative link like other tabs

Search tab now invoked via scripted form submission like other tabs.

Closes #45
Add kodi and kodi_movie metadata formats

Support impending XBMC name change to Kodi
Make --info and --{metadata,subtitles,thumbnail}-only work with --pid
Allow override of all rtmpdump options via --rtmp-{tv,radio}-opts
Don't require GETIPLAYERSYSPREFS with GETIPLAYERUSERPREFS

Environment variables can now be set and used separately
Remove hard default for --thumbsize

No longer needed, though a few thumbnails will still have incorrect URLs.
Move preprocessing of --start and --stop
Encode metadata for MP3::Tag

Avoids occasional "Wide character in print" messages due to presence
of smart quotes.
Treat symlink as path when sanitising
Don't delete existing file with --overwrite and --test
Fix up encoding of metadata tags

All MP3 metadata encoded to iso-8859-1.  MP4 metadata encoded to
iso-8859-1 unless --tag-utf8 used. Some punctuation now converted
to ASCII (in case of use for file naming).
Apply --quiet to WMA recording
Apply --check-duration to WMA recording
Added new file naming options, changed --whitespace

--whitespace: now only preserves whitespace in file names,
whereas before it preserved non-ASCII chars and punctuation as well.
Use --keep-all for previous behaviour.

--non-ascii: keep non-ASCII chars in file name
--punctuation: keep punctuation chars in file name
--keep-all: same as --whitespace --non-ascii --punctuation

--fatfilename and --hfsfilename override --punctuation