Make sure we write all buffers
Finish off continuous shooting
Fix MIME-type lookup for recording
Add tests for continuous shooting

Also pulled common test stuff into new conftest (will come in handy when
adding tests for recording later)