Use backend results instead of table output in pm-updatestatus tests.
Reduce duplicity of code in update_status engine, and decouple from constants declared in update.module.