Added validations to project model. validates_presence_of is deprecated.