Added handling for item flags when loading from json files.
Fixed jsonized items not showing up in wish menu. Not the best fix - better alternatives appreciated.
Merge pull request #764 from GlyphGryph/flags_to_item_factory

Flags to item factory