Bug 937485 - [WebIcc] use Webidl enum for cardState. r=edgar,smaug