ksmserver: do some trivial modernization on server code
- use explicit for single arg constructors
- wrap single line blocks in {}
- use auto where possible
- initialize variables when declaring them
- declare variables when needed rather than ahead of time
- std::ignore instead of void casting
- throw away defunct KSMSERVER_STARTUP_DEBUG1
- use c++ c includes instead of their deprecated c variants
- remove solaris compat, it is no longer supported
- prefer using over typedef
- sort includes better