encoder module and move sector config behind card API
Refactor the encoder module; making it easier to use for local development (using the ACR1252 encoder). The changes were made in the context of supplying cards for Engineering debug.
Also: move the mifare configuration (block size per sector) behind the Card API so the local client does not hold the card type/state.
Edited by Andrew Vella