fix all but the deprecation warnings

mostly overwritten atomic properties
fix static analyzer findings

mostly unused setegid() return values
apply Xcode's "Convert to Modern Objective-C Syntax..." refactor
lend a hand to the modern Objective-C conversion
remove unused SRInt(x) macro