Add stumpwm-cli function as the entry point for binaries.
Add option to build an image using buildapp.