cabal-file: add hlint as dependency for tests
travis: use hlint on RailCompiler source
Revert "cabal-file: remove version restriction"

This reverts commit 1b2af84c5962dc24d0529bfcac74cc8b33dafa74.