Remove javacard.framework public constructors
Remove AID#toString()

- Remove AID#toString() so that it does not show in javadoc
- Add AIDUtil#toString method
Add test case: APDU without selected applet fails
Code cleanup

- Use generics for Class and collections
- Remove redundant imports
- Remove redundant casts
Improve memory handling in HelloWorldApplet

- Only allocate memory in constructor
- Re-use transient memory buffer
Remove transient memory leaks

Remove unnecessary JCSystem.makeTransientByteArray calls
Remove outdated null-checks
Merge pull request #52 from robertbachmann/code_cleanup

Code cleanup
Return SW_COMMAND_NOT_ALLOWED if no applet is selected
Replace duplicated javadoc with @see
Add javadoc to ApduCase, ByteUtil, and AIDUtil
Document applets, migrate to CLA=0x80
Add CLEAR_ON_* support
Make Card#disconnect(true) perform a reset
Check preconditons in APDU.getCurrent()

Make APDU.getCurrent() throw a SecurityExecption if
not called (directly or indirectly) from Applet#process(APDU)
Add AIDUtil#select()
Fix javadoc typos
Merge pull request #53 from robertbachmann/clear_on_deselect

Support for CLEAN_ON_DESELECT / RESET
Check APDU#setIncomingAndReceive() preconditon

- add check to APDU#getIncomingLength()
- add check to APDU#getOffsetCdata()
Minimal support for T=1 and T=CL

- add Simulator#changeProtocol method
- inline some package-locals from SimulatorRuntime
- add DualInterface sample applet which denies write
  operations on contactless interfaces