Video common api fixes

This branch tries to merge some shared code of the backends into VideoCommon.
This issues were noticed on creating the null video backend.