Document initial support for XDG

- Added comments
- fixed a mistake in the Windows code
- changed getFontForgeUserDir to return NULL on failure