Fixed EL/Debian uninstall/upgrade logic.

Services wouldn't stop on uninstall, or would start on upgrade even if
they weren't running to begin with.

Also re-ordered build_deb "scriplets" to match my spec file.