Created and added stack.yaml and .gitignore files.
Relaxed the version dependency on 'binary' package in cabal file. Is that OK?
Also brought the minimum cabal version to >=1.8, so I could add a test target that pulls in the library.
Changed all tabs to spaces - I don't know when the Haskell compiler started giving warnings about that.