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}
-->

Not the case for now, but as long as user input is never used in that.