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.

https://github.com/saltstack/salt/issues/6493