Refactor `validate_project` middleware to inject response.locals.project (info regarding project name, description, path and more)