Run prerm scripts together with preinst scripts

* prerm scripts are now run at the same time as preinst scripts in plan order
* postrm scripts are now run at the same time as postinst scripts in
  plan order