work on costs for changes and problems + factorize code
see #1330
fixed #4516


git-svn-id: https://forge.indepnet.net/svn/glpi/trunk@21824 35612d4c-9d10-0410-837c-bf9dd1be60d7
split problem / change array profile


git-svn-id: https://forge.indepnet.net/svn/glpi/trunk@21825 35612d4c-9d10-0410-837c-bf9dd1be60d7