Add 'wpsc_gateway_name' filter (rebased)

Rebased pull request for issue #673
Replaces PR #875