added basic item model and inventory and gold to the character model. The item model has a 'template' flag which can define prototype items that can't be added to a player inventory directly, but can be used to generate copy instances of the item
added mongoose foreignkey-style references to the models. now we perform joins across our various models. Without a join it stores the _id's of the referenced objects (which means its backwards-compatible!), but when you chain on the .populate() method it replaces them with the full objects.
added route for getting all characters as admin
rearranged the character management routes to be more RESTful. Also added a character viewer and editor
added /items get route - just lists the plain json the way /chars and /users do
added item creation at /items/new. you can select whether you are creating a template, cloning a template, or creating a unique item. for cloning or creating uniques you can assign the item to a character and it will show up in their inventory
fixup the char view/edit view a bit
Merge pull request #38 from ptmccarthy/inventory

Inventory