added persistence support patch from github.com/rest-client/rest-client/...

...pull/171