Cleanup handling of temporary files

- Moves the logic of creating and cleaning up temporary files (and folders) from \OC_Helper to it's own class
- Create temp files with a prefix so we can recognize them
- Let cron cleanup any dangling temporary files

For #11401

cc @DeepDiver1975 @PVince81 @th3fallen 
I don't like the idea of moving 3rdparty interfaces into our public api :-1: