More changes on packing and debugging

I simplified startup scripts by moving most code from .bat and .sh into Java code.
On top of it I also implemented a shared run configuration that starts kara debug server with the application

The only way to run/debug of kara is to use `kara_dist` artifact output, i.e. `out/artifacts/kara_dist` folder. 
Before that once need to make `kara_dist` artifact in IDEA

Meanwhile I switched TeamCity build to generate package with use of IDEA artifacts