Use configstore for storing versionCheck information, and only store the timestamp when the version is checked from npm

Per #1223, using configstore instead of yam for storing `lastVersionCheck` and `newestVersion` for the UpdateChecker.
thee can just return the number