Add a class to detect the ProjectType of a gradle project.

This may be used when applying a plugin if it needs to behave differently on a top level organizational project or a leaf project which produces artifacts.