Finished validations for project form.

Missing tests.