Changes to add projectID to database queries so that the incidents can
exist in multiple projects.