FOFModel would save the limit and limitstart of the input variables (e.g. request) to the user state even when using getTmpInstance.

After this commit when getting a model with getTmpInstance will default to the state not being saved. When getting a model with getAnInstance the state will be saved. You can pass a $config['savestate'] variable (or savestate input variable) to override this behavior.