Automatically fix atmos shim issues before starting sbt. 

* Migrate atmos shim definitions back into 2.9.2 friendly code.
* Automatically fix atmos shims for sbt 0.13 projects
* Fix rewiring of code.
* Use `main in Compile in run` to match what the task itself uses.

Review by @havocp