Change card.type to card.brand to match Stripe API change.
Fixes #170