Versioned global sbt directory. Fixes #735.
Proper support for stashing on-failure handlers.  Fixes #732.