Fixed getKernelMajorVersion, added getKernelMinorVersion
Fixed strtoi to correctly parse the number 0