BS-9193: improve migration by setting type to None when no initial
content is present (in order to have valid diagram
BS-9193: avoid NPE when a .proc contains document without initial url
value which is null in th emodel instead of emtpy (maybe when migrating
from 5.x)
BS-9193: add Migration test in the test suite