redmine 2.X compatibility

Hello,

Plugin chashes in redmine 2.x because of dispatcher architecture changes
I have added some changes to make it work. 
It would be greate if make upload new version to http://www.redmine.org/plugins/redmine_cas

Cheers,

Denis