Fix the haddock lexer do alex 3 Unicode properly

Code taken from the alex "basic" wrapper. Alex 3 works directly on UTF8
byte sequences, not Chars.
Fix haddock URL markup in our .cabal file