fixing bug #5038
property 'inheritance' of applications was ignored !
adding a test case
Merge branch 'ney-bug5038' of https://github.com/NicolasEYSSERIC/Silverpeas-Core into core-5.13.x