Add license headers for code copied from Cabal
Copy readMaybe/readEither from base >= 4.7 for backwards compatibility
Merge pull request #251 from DanielG/dev-cabal1.16

Copy readMaybe/readEither from base for backwards compatibility
Add test for no errors case
Suppress empty line