cdc: added two new commands: debug and upload.
upload forward the data to the NetActivity applet to send to one-click hosting.
debug change the debug state of a running applet.
also improved the logging system for applets.
and a little more documentation.