Currently, all APDU applications depend on apdu-dispatch to implement
the App trait. This means that they also need to be updated if the
dispatch implementation is changed. This causes unnecessary releases
and maintenance work. By introducing the apdu-app crate, we can change
the dispatch implementation without affecting the applications.
To decide whether we send out the response in whole or in chunks, we not
only have to compare the length with the maximum length supported by
interchange but also with the maximum response length specified in the
request APDU.