code optimization, bugs, improvements

As the title states,
Code optimizations - following BI wiki, switched to seemingly forgotten functions that's been in compiles.sqf for quite a while now, namely:
FNC_GetPos
FNC_GetSetPos
More info on subject: https://community.bistudio.com/wiki/Code_Optimisation#Position_ASL_is_the_fastest
And some other minor stuff related to nearObjects... like only grabbing getPos once at start, not every _x

Bugs - Some minor bugs here and there (thanks to all who reported them on forum)

Improvements - Proper full deep water base support. Snap building got quite nice polish, too allowing players to rotate object 45 degrees even while attached as well as fixed manual snap points - allowing people to change points without buildable object jumping around.

I will also update mission part of snap_pro mod tomorrow and see if anyone comes up with more bugs or feature requests (they are good at it). But overall this seems like it's going to be final major update to modular build system. 
@Rimblock: Haven't checked complexity of integrated modular P4L yet, but hopefully this does not make you too much headache, parts your mod uses weren't really changed afaik (judging by mission file structure of your script)