implement --debug argument to run in debug mode
- added some automated tests
- use python's builtin zip to create archives
- print "..." in do()