[TASK] Include cache and category tables if available

In newer TYPO3 versions the caching framework
generates the table definitions dynamically.

Since 6.0 the category registry also dynamically
adds fields.

Add both to the table definitions if the TYPO3 API
calls are available.