Crafting bugfix - armor tab doesn't crash

Fix an issue related to missing item definitions introduced by the big refactor. Mostly fitted items, I think they're all correct now (maybe).

Thanks Kevingranade for the stack trace, it helped me figure out where to put a debugmsg call.