card registration api etc

- CardRegistration (with methods: Create, Update, Fetch)
- Card (with method: Fetch)
- a few smaller test fixes