More Windows compilation fixes

All functions in base/Credentials now return a boolean indicating success or failure. A new method has also been added to check the platfom's support for UIDs.

All functions in base/Credentials will return false on Windows.

OlaDaemon::DefaultConfigDir() will have to be revisited once the port has progressed further. Maybe this should be entered into the issue tracker.