Recognize when running in sbt 0.13.1+

Note: side effect of the 1.8.8 client upgrade is that the console is
not exited cleanly even if sbt is detected. Probably some new
threadpools need to be shutdown.
ahc has added a timer, so configure it to use ours when running inside sbt