Added ability to snap to a grid

Added an editor extension that allows objects to automatically snap to a
grid when moving.  This will ease the development of tile-based levels.