Consistently use (:root project) to check whether we are running in a project

Per discussion in #leiningen, preparations for fixing #966
Document (:root project)