Add Card, fix Dict to Query parsing

Added actions for Card and CustomerResource for resources that need to
have a user id passed in. Added custom encode_query that accepts nested
enumerables.