ghc -Wall

Add -Wall in the cabal conf and fix resulting warnings.