Moving from console to $log for logging.
Introduced hbUtil.applyPaths to allow more generice chooseActor()
function definition toward generic hbChooseOne directive.