imfile: Add the persist_state_interval option

This adds an option to imfile so that the InputFilePersistStateInterval variable can be configured. The value defaults to 0, which is also what rsyslog will default to if the value is not specified. (According to http://www.rsyslog.com/doc/imfile.html)