states.module.run: fix passing kwargs issue#6493

states module.run couldn't pass kwargs correctly.
This fix the issue, and allow to pass a dict directly from a state file.
Merge pull request #6494 from ze42/develop

states.module.run: fix passing kwargs issue#6493