Use JsTrans as a component. Load messages from ANY CMessageSource instance

- Use JsTrans as a component and configure it in config/main.php :
'preload'=>array('jsTrans', ... ),
...
'components'=>array(
  'jsTrans'=>array(
    'class'=>'ext.JsTrans.JsTrans',
    'categories'=>array('app'),
    'languages'=>array('fr','es')
  ),
  ...
- Load messages from ANY CMessageSource instance, using Reflection to call protected
method loadMessages() from Yii::app()->messages component