TYPOC-24: registering context types with first dummy type
TYPOC-24: make compatible with TYPO3 6.0
TYPOC-24: CS