[WIP] Proper Audio/Video Dumping

Screwed up the previous PR, replacing with new PR

Old notes: https://github.com/dolphin-emu/dolphin/pull/1183
Are you aware that oneCFR may change? So CFRstart may return the wrong value (assuming that it's the time of the last valid dumped frame).