apiserver/params: add test to prevent state being added as dependency

`apiserver/params` should not depend, even transitively on `state`, because that will mean anything that uses the api also has a state in their dependency graph.

This test makes it a robot's job to check.

Requires #1202