adds test code for create/edit/destroy of post
posts controller and db added, closes #14, #15, #16