Move sprite layers into the Pygame frontend

Layers are a presentation value, so they really belong in the renderer
rather than in the game logic.