Bugfix/fix rspec r0

updated with rspec 3. fixed all warnings and errors.
that doesn't work. the uniqueness constraint is on update. so if you create two blog_posts with the same title it won't fail. it's only when you update a blog post with the same title as an existing blog post does it fail. i will update the next PR to remove the hacks we did to get the images to work.