Bug 1001842 part 1: record the umask in NS_InitXPCOM2 and expose it to JS via nsSystemInfo.  r=bsmedberg
Bug 1001842, part 2: make umask available via OS.Constants. r=khuey sr=bz