add sys.cf_version_{major,minor,patch} and use it in promises.cf.  Provide lib/3.6 which is a copy or lib/3.5 right now.