Implemented card client and card common object.

Also added card client test. Note: Balanced rest api documentation is
missing params for updating a card.