Fixed CacheProvider documentation

Fixed the following:

- `$namespaceVersion` can only be `integer` or `null`, not `string`
- `getNamespaceVersion()` can only return `integer`, not `string`
- `bool` was used in once place, instead of `boolean` everywhere else
``= null`` is useless, as it is already the case when you don't specify any value