Moved item functions to the item manager.
Action bar and inventory to use moved item functions.
Further work on the icon manager.