bs_publish: enable published hooks with parameters

Enable the usage of parameters in publishedhooks for easier usage.

for example:

our $publishedhook = {
  "general_packages" => "/usr/lib/b1/glue-api-hook.py channel1-x86_64",
  "other_packages" => "/usr/lib/b1/glue-api-hook.py channel-others-x86_64",
};