SAK-23029 Moved all maintainer checking code into separate function, modified message property for unified alert where proposed maintainer updates will cause maintainer count to = 0

git-svn-id: https://source.sakaiproject.org/svn/site-manage/trunk@131941 66ffb92e-73f9-0310-93c1-f5514f145a0a