add: write installed packages in var/lib/pkgmgr/packages ; improve: save credentials from amqp.conf and cstorage.conf over canolibs update