THE ARECIBO LEGACY FAST ALFA SURVEY: THE α.40 H i SOURCE CATALOG, ITS CHARACTERISTICS AND THEIR IMPACT ON THE DERIVATION OF THE H i MASS FUNCTION