Updated cabal dependencies and made change for new scrypt API.

I was trying to get scat compiling with 7.8.1 and was having a few difficulties with package dependencies.

I'm not very experienced with setting cabal version dependencies. I tried to find inspiration from other packages.