prepare DB for costs for problem and change
see #4516
see #1330


git-svn-id: https://forge.indepnet.net/svn/glpi/trunk@21822 35612d4c-9d10-0410-837c-bf9dd1be60d7
fix right update see #918


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