fix(halclient): fixed the applyParams (multiple template variables support), renamed urlParams to templateParams