Merge O4-dev to Py3
I've done a merge and compared each file's changes/diff with the equivalent from O4 dev (between 759fd30f and 574db1f7)
It includes the big finalsink refactor. The appsink_new_buffer
function has a few changes at the start in py3. Also most strings I changed to format strings.
Currently doing a short test.