Added #update method to PostRepository

And factored out common code/specs between `PostRepository#update
` and
`UserRepository#update `.

RSpec: 905 examples, 0 failures (but see Issue #87)
RuboCop: 178 files inspected, no offenses detected