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.
I have this due to some querying that I do, will change if it proves to be unnecessary at a later date.