always process Startup.xml if it exists
add startupwindow infolabel
[Confluence] activate the selected startup window instead of home
tag animations as ready to go once processed once, not while rendered once. fixes #13912
DirectoryCache: access and save calls on DirectoryCache after substituting those calls as needed since it does not substitute them anymore
DirectoryCache: The cache keeps track of files and directories and should therefor not be the one to do any substituting.
[WIN32] replace old dirent emulation to a more complete one. Even though I can't find where its still in use I feel better with a working solution.
fixed: sort predicate is passed const references
fixed: cannot pass non-pod through varargs
[rbp] Ensure GPU does resize when caching thumbnails

On a Pi, imageres and fanartres are set quite low (typically 512 and 720 or lower).
So, when caching the artwork there is a resize step involved.
The OMXImage jpeg decoder has the option to resize "for free".
Unfortunately this currently only limits the resize to current GUI resolution,
so there is often a second resize done by the ARM. This is very slow.
The larger decoded image also requires more RAM.

With fanartres=512, you currently get resize during decode of 1920x1080 to 1280x720 (gui res).
Then before encode there is a resize to 910x512. The two stage resize reduces image quality.

This fix takes a bit more care to include the imageres/fanartres resize during the decode.
I needed to make the 16:9 check a little more lax to also detect a 16:9 image after it's been resized.
I've gone for differs from 16:9 by 1%, rather than the existing exact match of 16:9.
Merge pull request #2549 from popcornmix/avoid_resize

[rbp] Ensure GPU does resize when caching thumbnails
Merge pull request #2022 from ronie/skin-startup

Always load Startup.xml
Merge pull request #2045 from jmarshallnz/hasprocessed

tag animations as ready to go once processed once, not when rendered once
fixed: add header changes missing in #2045
Merge pull request #2192 from DasMarx/cacheFixes

Cache fixes, e.g. after pathsubstituion
Merge pull request #2552 from wsoltys/dirent

[WIN32] replace old dirent emulation with a more complete one.
[WIN32] updated sqlite to 3.7.16.1