Fix wrong path in history when opening files from a network drive.

This old bug has been made visible because of 3fc006ff775f7bf8c29da82c33069d47f6ea47ea.

This commit fixes #3594.
About dialog: Keep the build info in the clipboard even when MPC-HC is closed.
Factorize the code for file chapters handling.
Factorize the code for DVD chapters handling.
Skip to previous chapter: Use the same threshold for files and DVDs.

Previously thresholds of 3 seconds and 7 seconds were used respectively for files and DVDs, to choose between restarting a chapter or skipping to the previous one. Now both uses a 5 second threshold.
Make SetChapterBag consistent, reduce duplication.
Invalidate control when ChapterBag is changed.
GetEventString: Add DVD-Video and sound device event codes.
Tooltips IDs can't go above 0xFFFF.
Remove unused variables after eb191c09cc96450a4e62c3592a5697b407f6bc36.
Remove some overzealous constifications to avoid C4510 and C4610 warnings.

The language resources array is const already so there is no risk of unwanted modification.
Fix some typos.
Add missing file in MPCTestAPI.vcxproj.filters.
Update Changelog.txt.
Be consistent with the var type.
madVR: Hook DXVA decoder to have status and logging.
Cosmetics: Use the IID_PPV_ARGS macro when possible (1/2).
Cosmetics: Use the IID_PPV_ARGS macro when possible (2/2).
Improve the reliability of the [DXVA] indicator in the status bar.

Sometimes the indicator wasn't shown while hardware acceleration was used.

This commit fixes #3518.
Get the DXVA status once and for all when opening the file.

No need to check it every time the status bar is updated.