Projects admin test: Consolidate helper functions
Projects admin test: Consolidate helper functions

We have two pairs of functions that differ only in the .toBeFalsy() or
.toBeTruthy() expectations. We can swap those for .toBe(bool) and
passing in the expected boolean value (because we know that the values
returned by .isDisplayed() will always be booleans, not other objects
whose truthiness or falsiness we need to test). This will make our code
slightly easier to read and have less duplication.

Also, this fixes the one test that the previous commit broke (it needed
access to one of the variables that was moved into the helper functions).

sil-student-projects/web-languageforge,sil-student-projects/web-scriptureforge,sil-jterm-2015/sfwebchecks,sil-student-projects/web-scriptureforge,sil-student-projects/web-languageforge,UpstatePedro/web-languageforge,sillsdev/web-scriptureforge,sillsdev/web-cat,sillsdev/web-cat,UpstatePedro/web-languageforge,sil-jterm-2015/sfwebchecks,ermshiperete/web-languageforge,ermshiperete/web-languageforge,sil-jterm-2015/sfwebchecks,ermshiperete/web-languageforge,sil-jterm-2015/sfwebchecks,ermshiperete/web-languageforge,sillsdev/web-cat,sil-student-projects/web-languageforge,sillsdev/web-cat,sil-student-projects/web-languageforge,ermshiperete/web-languageforge,sil-student-projects/web-scriptureforge,sillsdev/web-scriptureforge,sillsdev/web-scriptureforge,UpstatePedro/web-languageforge,ermshiperete/web-languageforge,sillsdev/web-scriptureforge,sil-student-projects/web-languageforge,sil-student-projects/web-scriptureforge,sillsdev/web-cat,sil-student-projects/web-scriptureforge,UpstatePedro/web-languageforge,sillsdev/web-cat,UpstatePedro/web-languageforge,ermshiperete/web-languageforge,sil-student-projects/web-languageforge,sil-jterm-2015/sfwebchecks,sil-student-projects/web-languageforge,sillsdev/web-scriptureforge,sillsdev/web-scriptureforge,sil-jterm-2015/sfwebchecks,UpstatePedro/web-languageforge,UpstatePedro/web-languageforge,sil-student-projects/web-languageforge,sillsdev/web-scriptureforge,sil-student-projects/web-scriptureforge,ermshiperete/web-languageforge,sillsdev/web-scriptureforge,sillsdev/web-cat,sil-student-projects/web-scriptureforge,sillsdev/web-cat