Make some tile- and tile-collection-related functions methods of those models rather than defining them in the board view, making it possible to define the tileSelection function more succinctly