Encapsulate plane height checks
This encapsulates most plane height checks into new variants of P_GetZAt
,
to avoid checking sector/FoF heights differently depending on whether they are sloped or not.
And also a bunch of minor code cleanup here and there, plus a minor camera-related bugfix due to a silly typo.