The GEM mapper: fast, accurate and versatile alignment by filtration