moo-php-17 It'd be nice to have some helper methods for cards

Added helpers for maintaining the cards array.
Fixed typos in serialization/deserialization config.
Began adding tests to pick up similar typos.