Initial import of mkstatic

It seems to work. Tested well with "simple" binaries like mc.
I've used debootstrap to make test chroot-environment.