Clean up implementation of for and while loops to make them easier to read and reduce code copying
Clean up implementation of for and while loops to make them easier to read and reduce code copying

bradparks/ChaiScript__cplusplus_scripting_language,bradparks/ChaiScript__cplusplus_scripting_language,kamilzubair/ChaiScript,bradparks/ChaiScript__cplusplus_scripting_language,kamilzubair/ChaiScript,kamilzubair/ChaiScript