The abstract setting for shape deformation analysis and LDDMM methods