Add new function wpec_taxes_item_isexempt,

clean up logic in per-item tax calculations to use new function

fixes #1712