Adds validation methods to post. Refactors post views to use a form partial.