feat: add the possibility to add elements in the head of an UStringIO list

It is a graft of cc71a801b846 from version 3.26.15, less Python 2 specific code.

Merge request reports