Supports GHC 7.8.3 and cabal sandboxes

Includes updates for GHC 7.8.3 and cabal support from @maximkulkin's https://github.com/maximkulkin/hdevtools/tree/cabal-support