Fix local updates from dashboard status dialog actions.

Issue #690: "The status button in the dashboard updates the formatting of the class, but not the [STATUS] text."
Move duplicate code into generic functions.
Fix typo in adminclass action for positive status codes
Merge pull request #710 from learning-unlimited/issue690

Fix local updates from dashboard status dialog actions.