Replace some nonreadable regexps with rx macro
Change some looking-at/string-match to match data-preserving versions
Wrap some functions with save-match-data
Move haskell-align-imports-regexp into haskell-utils
Replace single-alternative ifs with when macro