Storefront:changes related to hooks of gift_certificate extension. hook_vars added into checkout_payment.tpl.
Also changed validation of payment method. If total amount of order is zero  controller will not gives error about absent payment method