OptionsPlugin: fix bug on 2nd options run

Since OptionsPlugins persist beyond a single command execution, their
state needs to be reset after each execution so that they execute
correctly the second time. Specifically, the module's "resolved" status
needs to be cleared for each input, so that the input dialog pops when
the options command runs the next time.