Addressed houndci issues and code climate in posts controller.