Create row bombs from long matches

Matches of four or more tiles in a row now generate row bombs. In the
process I've also changed how matches are computed. The grid now returns
information about which tiles belong together in a match and perpendicular
to which axis it lies.