Fix foundations not being placeable when the middle is clipping into terrain or rocks
- as long as one corner or edge of a foundation is still above the terrain, it will place
- still block placement if the foundation is completely under the terrain
- add new SocketMod_Grouping to control multiple socket checks (which is how it checks multiple points on foundation)
- applied to both square foundation and triangle foundation