CompilerExtension updated to current Nette API

Current dev version of Nette has changed its API for CompilerExtensions.