Change setup stack states with signals

This pull request adds the following functionality:

- Change setup stack states with signals so that it can be controlled whether changing from one state to another is permitted or not for the setup stack.

My ICLA is listed under "Furkan Bıçak"
The reason why I think this is necessary is that when deploy goal is called, we need to change the stack state from JarNotFound to NotSetUp. In order to do that, we need to have a registered stack and to register the stack after upload, we need to have runnerCount parameter. For that reason, I guess we should have this parameter.