Added prerm, preinst, postrm and postinst scripts

They do the following:

* prompt for admin userid and password during first installation
* merge old and new configuration files during upgrades
* start the daemon after installing or upgrading
* stop the daemon before removing or upgrading
* ...