fixes #523 reject visualization commands in mongos, add a test