extract app build logic into BuildCommand
make the compiler create the build directory tree if needed
add SignCommand

$ swm sign device
Uses the selected certificate and adds a provisioning profile

$ swn sign store
Uses the selected certificate