Deprecate class-level build.stable?, build.devel?, and build.head?