pacman: Add wraparound tunnels

This way, the player can't escape into the void.
pacman: Handle wraparound of ghosts.
pacman: Fix transparent value name

It collides with a sprite register name.
pacman: Specify layers to render in resources.cpp

It's easier to manage when not having to pass it in from pacman.ino.
pacman: Add clipping layer

Makes for smoother wraparound.
pacman: Correctly detect 4-way intersections