Inventory technical update

removed the usage of the table inventory and uses only items
refactor to match current tools and practices
now correctly removes the deleted item from the table after deletion

Mainly no feature were changed.
tests done are manual listing, creation, deletion and update of items

<!---
@huboard:{"milestone_order":0.0048828125,"order":0.029296875,"custom_state":"ready"}
-->