add deepen and flattenNoOwns

flatten now creates own relations from Submodel