Whilst QAing bug 21754 and bug 20884 I realised that the functionality related to losing an item is not very well encapsulated. Currently LostItem is called in various places following a ModItem call. We should move the call to LostItem inside of ModItem to lower the risk of LostItem not being applied after a ModItem call has been made. This would be a good first step towards a more thorough refactoring of this area of the codebase and the move to the Koha:: namespace.