"dx get applet-xxxx" reconstructs the app source directory

* Thanks to George for the initial code
* Fix exit codes for some other invocations of "dx get"
* Add tests