Fixed Item Database module

Now fully compatible with pre-RE and RE Hercules `item_db*` tables.
Added support for new `upper` values from
https://github.com/HerculesWS/Hercules/commit/1caae981b4f000b67bdd0b118fb76797c2bfa06c
Closes #1