Data.Dict: added some methods ( max_by, min_by, foldl, foldr )
Data.Dict: formatted the exception text