core: limit number of states owned by cliet

a dirty work around NFS client/dCache misbehavior
add a client command to simulate open state id DoS

Acked-by: Paul Millar