Integration with omniauth

- Integration with omniauth.
Remove commented code

- Remove commented code
Redirect to client after registration

- Redirect to client after registration.
Redirect to home after signing out

- Redirect to home after signing out at client.
Merge branch sso_omniauth_03_13_2013_a

- Merge branch sso_omniauth_03_13_2013_a into
  sso_omniauth_04_10_2013_a

- Conflicts:
    app/controllers/portal/teachers_controller.rb
    app/models/user.rb
Fix error on registration

- Fix error on registration.
Set domain to cookies for sso integration

- Set domain to cookies for sso integration.
Delete cookies with domain

- Delete cookies with domain for sso integration.
reidrect to root on sign out

- reidrect to root on sign out.
Add failing test documenting the REST activity API
fix cucumber environment settings
add rest create url string to external activities
implement code to run the external activity

this adds capybara-mechanize so that rack:test
MIGRATION: add external REST activity running support

this adds a new field external_activity_state_url to Portal::Learner
we should see if calling this "activity state" works or not
Fix webmock causing problems with db:test:prepare*
Merge branch 'master' into wip-activity-runtime-connection
Add external activity return url to api

Note: There's not yet a controller behind the return url.
don't follow redirects when posting to rest_create_url

a basic REST based rails app will send a redirect when posted to
Merge remote-tracking branch 'zeus/sso_omniauth_04_10_2013_a' into wip-oauth-runtime-connection

enable a OAuth2 provider in the portal
update schema.rb and Gemfile.lock