Cabal special dependency + Haskell package support

These are prerequisites for shellcheck formula proposed in #21231. Support for following is added:

- `depends_on :cabal`
- `depends_on 'parsec' => :haskell`