Detect and run tests in sandbox if present

Instead of assuming a global install, use the sandbox to run tests when
available. Mimics behaviour of cabal install.

Signed-off-by: Rohan Jain <mail@rohanjain.in>
Merge pull request #269 from crodjer/feature/runtests-with-sandbox

Detect and run tests in sandbox if present