Add callback functions/filters

Now I can do this in config file:

'viewRenderer' => array(
	'class' => 'ext.ETwigViewRenderer',
	'functions' => array(
		'route' => function($route) { 
			return Yii::app()->urlManager->createUrl($route);
		}
	)
),