Allow to update visibility of a category with the API

The UnitTests are changed thanks to Ben to prevent this bug in the futur
please put first the array in a variable and then test it. It's not readable like this.

eg :
 
```
$results = json_decode($client->getResponse()->getContent(), true);
$this->assertEquals(1, $results[0]["VISIBLE"]);
```