Cache the system version, numbers, and name, as the OS does not.
Cache the system version, numbers, and name, as the OS does not.

During startup, the system name and/or version is requested a number of times, and each call is 1ms or more.  Changed the numbers parsing to use std::string instead of NSString so that the static variable could be an std::string, avoiding having to make the conversion every function call.

BUG=None


Review URL: https://chromiumcodereview.appspot.com/11437046

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@172092 0039d316-1c4b-4281-b951-d872f2087c98

ltilve/chromium,hgl888/chromium-crosswalk-efl,ltilve/chromium,ChromiumWebApps/chromium,chuan9/chromium-crosswalk,timopulkkinen/BubbleFish,Just-D/chromium-1,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,Just-D/chromium-1,Pluto-tv/chromium-crosswalk,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,ChromiumWebApps/chromium,zcbenz/cefode-chromium,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk-efl,dednal/chromium.src,hujiajie/pa-chromium,zcbenz/cefode-chromium,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,jaruba/chromium.src,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,PeterWangIntel/chromium-crosswalk,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk-efl,axinging/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,dednal/chromium.src,anirudhSK/chromium,mogoweb/chromium-crosswalk,bright-sparks/chromium-spacewalk,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,zcbenz/cefode-chromium,chuan9/chromium-crosswalk,M4sse/chromium.src,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,M4sse/chromium.src,M4sse/chromium.src,ltilve/chromium,ChromiumWebApps/chromium,hujiajie/pa-chromium,pozdnyakov/chromium-crosswalk,fujunwei/chromium-crosswalk,dednal/chromium.src,Fireblend/chromium-crosswalk,Jonekee/chromium.src,markYoungH/chromium.src,hgl888/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,ondra-novak/chromium.src,pozdnyakov/chromium-crosswalk,nacl-webkit/chrome_deps,pozdnyakov/chromium-crosswalk,patrickm/chromium.src,TheTypoMaster/chromium-crosswalk,fujunwei/chromium-crosswalk,timopulkkinen/BubbleFish,Just-D/chromium-1,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,dednal/chromium.src,TheTypoMaster/chromium-crosswalk,Fireblend/chromium-crosswalk,patrickm/chromium.src,hgl888/chromium-crosswalk-efl,ltilve/chromium,nacl-webkit/chrome_deps,ChromiumWebApps/chromium,markYoungH/chromium.src,ondra-novak/chromium.src,zcbenz/cefode-chromium,fujunwei/chromium-crosswalk,ondra-novak/chromium.src,chuan9/chromium-crosswalk,hujiajie/pa-chromium,Jonekee/chromium.src,Jonekee/chromium.src,timopulkkinen/BubbleFish,ltilve/chromium,Chilledheart/chromium,ondra-novak/chromium.src,hujiajie/pa-chromium,anirudhSK/chromium,axinging/chromium-crosswalk,jaruba/chromium.src,markYoungH/chromium.src,mogoweb/chromium-crosswalk,mogoweb/chromium-crosswalk,dednal/chromium.src,anirudhSK/chromium,M4sse/chromium.src,krieger-od/nwjs_chromium.src,anirudhSK/chromium,Just-D/chromium-1,chuan9/chromium-crosswalk,dednal/chromium.src,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,markYoungH/chromium.src,anirudhSK/chromium,Chilledheart/chromium,krieger-od/nwjs_chromium.src,patrickm/chromium.src,Jonekee/chromium.src,zcbenz/cefode-chromium,M4sse/chromium.src,pozdnyakov/chromium-crosswalk,ondra-novak/chromium.src,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,littlstar/chromium.src,mohamed--abdel-maksoud/chromium.src,littlstar/chromium.src,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,TheTypoMaster/chromium-crosswalk,littlstar/chromium.src,chuan9/chromium-crosswalk,dushu1203/chromium.src,anirudhSK/chromium,bright-sparks/chromium-spacewalk,anirudhSK/chromium,nacl-webkit/chrome_deps,Chilledheart/chromium,krieger-od/nwjs_chromium.src,jaruba/chromium.src,jaruba/chromium.src,M4sse/chromium.src,anirudhSK/chromium,Just-D/chromium-1,zcbenz/cefode-chromium,jaruba/chromium.src,Fireblend/chromium-crosswalk,dushu1203/chromium.src,dednal/chromium.src,dednal/chromium.src,krieger-od/nwjs_chromium.src,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,mogoweb/chromium-crosswalk,anirudhSK/chromium,nacl-webkit/chrome_deps,mohamed--abdel-maksoud/chromium.src,nacl-webkit/chrome_deps,krieger-od/nwjs_chromium.src,mogoweb/chromium-crosswalk,ondra-novak/chromium.src,M4sse/chromium.src,nacl-webkit/chrome_deps,Just-D/chromium-1,hgl888/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,Pluto-tv/chromium-crosswalk,markYoungH/chromium.src,axinging/chromium-crosswalk,hgl888/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,littlstar/chromium.src,ltilve/chromium,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,Jonekee/chromium.src,bright-sparks/chromium-spacewalk,crosswalk-project/chromium-crosswalk-efl,timopulkkinen/BubbleFish,Fireblend/chromium-crosswalk,jaruba/chromium.src,Fireblend/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,anirudhSK/chromium,axinging/chromium-crosswalk,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,littlstar/chromium.src,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk,hujiajie/pa-chromium,timopulkkinen/BubbleFish,Pluto-tv/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,markYoungH/chromium.src,markYoungH/chromium.src,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,krieger-od/nwjs_chromium.src,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,Jonekee/chromium.src,M4sse/chromium.src,axinging/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,M4sse/chromium.src,jaruba/chromium.src,ltilve/chromium,krieger-od/nwjs_chromium.src,jaruba/chromium.src,jaruba/chromium.src,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hujiajie/pa-chromium,Chilledheart/chromium,timopulkkinen/BubbleFish,Chilledheart/chromium,fujunwei/chromium-crosswalk,dednal/chromium.src,hujiajie/pa-chromium,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,zcbenz/cefode-chromium,Chilledheart/chromium,PeterWangIntel/chromium-crosswalk,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,M4sse/chromium.src,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Chilledheart/chromium,Chilledheart/chromium,hujiajie/pa-chromium,ChromiumWebApps/chromium,jaruba/chromium.src,Jonekee/chromium.src,timopulkkinen/BubbleFish,patrickm/chromium.src,chuan9/chromium-crosswalk,littlstar/chromium.src,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,bright-sparks/chromium-spacewalk,mogoweb/chromium-crosswalk,axinging/chromium-crosswalk,ltilve/chromium,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,hgl888/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,littlstar/chromium.src,crosswalk-project/chromium-crosswalk-efl,zcbenz/cefode-chromium,zcbenz/cefode-chromium,patrickm/chromium.src,Just-D/chromium-1,Jonekee/chromium.src,Fireblend/chromium-crosswalk,markYoungH/chromium.src,littlstar/chromium.src,fujunwei/chromium-crosswalk,timopulkkinen/BubbleFish,ltilve/chromium,patrickm/chromium.src,Pluto-tv/chromium-crosswalk,fujunwei/chromium-crosswalk,markYoungH/chromium.src,crosswalk-project/chromium-crosswalk-efl,dednal/chromium.src,fujunwei/chromium-crosswalk,chuan9/chromium-crosswalk,patrickm/chromium.src,axinging/chromium-crosswalk,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk-efl,chuan9/chromium-crosswalk,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,Jonekee/chromium.src,Chilledheart/chromium,axinging/chromium-crosswalk,M4sse/chromium.src,mogoweb/chromium-crosswalk,Just-D/chromium-1,dushu1203/chromium.src,chuan9/chromium-crosswalk,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,bright-sparks/chromium-spacewalk,patrickm/chromium.src,hgl888/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk,dushu1203/chromium.src,ondra-novak/chromium.src,patrickm/chromium.src,Just-D/chromium-1,ondra-novak/chromium.src,ChromiumWebApps/chromium,Jonekee/chromium.src,dednal/chromium.src,mohamed--abdel-maksoud/chromium.src,timopulkkinen/BubbleFish,dushu1203/chromium.src,pozdnyakov/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,nacl-webkit/chrome_deps,jaruba/chromium.src,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,dushu1203/chromium.src,timopulkkinen/BubbleFish,hujiajie/pa-chromium,dushu1203/chromium.src,markYoungH/chromium.src,anirudhSK/chromium,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk,dushu1203/chromium.src,Jonekee/chromium.src,ondra-novak/chromium.src,bright-sparks/chromium-spacewalk,TheTypoMaster/chromium-crosswalk,Fireblend/chromium-crosswalk,hujiajie/pa-chromium