Implemented the skeleton code for the beacon.
There is no handling for the GUI. It can now check how big the pyramid is under the beacon.
Simplefied GetPyramidLevel
Removed debug message.
Some tweaks
GetPyramidLevel returns 0 when no layers were found, 1 for one layer etc.
Auto adjust the minY and/or maxY to 0 if the beacon is low.
Merge remote-tracking branch 'origin/Beacons'
Fixed formatting, made function static.