Reduce duplicity of code in update_status engine, and decouple from constants declared in update.module.
Simplify checking of version-specific requests in pm-updatestatus.