Added registerAfterInstall command

Command has to be called as "post-package-install" script
to register the downloader after the package is installed