imfile: Add the persist_state_interval option
Merge pull request #81 from solarnz/im-persist-state

imfile: Add the persist_state_interval option