rest-gen: Add hs-source-dirs and build-depends to generated cabal file.

Fixes #6.