states.stateconf: use conventional param name: kws -> kwargs
Merge pull request #4785 from cvrebert/patch-9

states.stateconf: use conventional param name: kws -> kwargs