Fixes for get_pay_link default value and variant's properties

Fixes for get_pay_link default value and variant's properties. Currently if variant had no property value set (eg local property was added to variant's parent after variant was created) it was possible that variants table was generated incorreclty (invalid number of td's - not matching header which was based on parent's properties). Accompanying fixes in pull request to lfs itself.