make: check if configure output is still likely to be valid.
timeshift: early prototype of the new timeshift feature.

Currently this supports pause/resume, and speed control. FF up to 4x uses
full frame output, faster than that or reverse uses i-frame only output.
This causes problems with some players and needs work.

Also buffers are done at the subscription level which means the disk space
is not shared even if it holds the same content. And more importantly
this means you cannot yet record the timeshift buffer like on a standard
PVR.
timeshift: fix memory leak in reader

I had failed to zero the ref count after reading from disk, this
will garauntee that the refcount never actually reaches zero and
is therefore the pkt is leaked.
timeshift: fix use after free() bug.
timeshift: Remove redundant (and faulty) code.

This appears to have been left in place from an older implementation. Ultimately the call to pthread_join will operate on uninit'd memory and could in certain circumstances cause a crash.

Thanks goes to Seri Al-Najjar <salnajjar@gmail.com> for spotting this.
timeshift: Split timeshift_index_t in two separate datatypes.
timeshift: Use more specific type for timeshift_index_data_t.data.
timeshift: reworked the configuration

general config stuff has now been removed and a new timeshift tab has been created
timeshift: Added on-demand buffer mode.

In this mode data will only be written to disk when paused and anything
in the buffer prior to the current play point will immediately be removed.

This implies that rewinding is never possible in this mode (though FF is)
and trying to do so will result in the buffer playback being paused.
timeshift: Reworked the reader engine to common up things and prepare for seek support.
timeshift: add new style capability check.
timeshift: implemented skip
timeshift: finish timeshift skip support.

I now have a more complete skip support implemented. This includes
properly handling buffer ends. I have tested with a custom pvr.hts
in XBMC, but it does need plenty more.
timeshift: enable timeshift by default in the build.