Inventory refactor

Rewrite inventory.lua to be more easily read and extended

WARNING! Not currently working. Upon opening, the inventory remains stuck on the first frame and the controls are unresponsive.

Suggestions and thoughts are welcome.