Added OS.getPID, .uName and .getHostByName.

All these functions are used in ticket generation in DSS.

* `OS.uName` and `OS.getHostByName` are used to get an IP address when the user does not supply any.
* `OS.getPID` is to generate a unique string (a poor man's UUID?)

Note: `OS.uName` is not yet supported in Windows.