The Herschel-ATLAS data release 1: I. Maps, catalogues and number counts