Fix potentially unclosed streams

Simplified some file checks
Code formatting and added copyright
Added a missing markDirty in AdaptorIInventory
Merge pull request #464 from yueh/fix-446

Added a missing markDirty in AdaptorIInventory to update other inventories on inserting items, fixes #446
#466 Change Crafting card recipe to shapeless

Change crafting card to be shapeless, to be consistent with recipe of other cards.
Merge pull request #467 from cjo9900/Crafting_card

#466 Change Crafting Card recipe to shapeless
Merge pull request #427 from yueh/development

Fix potentially unclosed streams