[darwin] Move all function in DarwinUtils to static class, update functions names

This will:
* reduce spoiling global namespace
* allow c++ objects, like std::string, to be returned