Incorporate omniauth for flexible authenticaiton.

This will require that the application will configure the providers information.

For Example:
config.omniauth :twitter, 'consumer_key', 'consumer_secret'
config.omniauth :cas, host: 'host_name', login_url: '/cas/login', service_validate_url: '/cas/serviceValidate'

in devise.rb

HYDRASIR-51 #close