Added Models from Buzzbuck, added testing files for models.

This is the initial commit to postgresql from the buzzbuck models for the old mongo db.
plugins/db.js has a category to category relation, which adds a parentId to the category model.