Account Identities.

This adds a hstore column called 'identities' to the accounts.

When a account logs in using a third party login from omniauth:
* The column is searched for the omniauth provider's key and unique user_id
  * If found, the account is returned and stored in session
  * If not found, a new account is created, without a corresponding membership
Remove temp variable, set hash directly
OmniAuth provided identities

This provides the framework to load omniauth, initialize it and a
controller to handle setting up accounts from it
Bugfix for account not recording second identity login

On reflection I don't think other code should be able to update the
identity hash on an account directly.  Removed that method and also
the Account.new({profile_incomplete=>true }) bit that got in there
somehow.

As the code-base is right now, Rails throws an exception immediately on
logging in when it attempts to record the organization_id.  I'm
returning nil for right now to continue testing.
Add third-party login icons to sidebar on home page
DRY up route for identities
Merging omniauth login system
Merge remote-tracking branch 'nathan/memberships-ui' into nathan_memberships
Add P3P encoded privacy policy

Fix for github issue number: #37.  The addition of a P3P privacy
file and the accompanying http header will force IE version 9 to accept
cookies when DocumentCloud is loaded into an IFrame.

Nginx will also need to have an add_header line added to it's
configuration.  I've made the change in the documentcloud.conf
template file; it will also have to be applied to existing servers.
Header name for P3P was incorrect.  This is tested working with IE 9.
Add explanation of what the policy indicators mean.

The HTML file is generated by the IBM P3P Policy Editor.  The editor is no longer hosted on IBM's website, but can be downloaded from: http://www.softpedia.com/dyn-postdownload.php?p=160916&t=4&i=1

You can load up the XML file from app/views/home/p3p.xml into the editor and change the preferences from there.
Login via an iframe

Supports logging in either using a documentcloud account or third party authentication services.

External users can login to documentcloud by placing an iframe by using the easyXDM javascript library with the provider iframe pointing to documentcloud.org/auth/iframe.
Specify gem versions for omniauth
Specify gem versions for omniauth
newer gems arent available for some reason on 1.8.7?
Complain if OmniAuth secrets are not available
Updating validations on accounts.
Merge remote-tracking branch 'nathan/memberships-ui' into nathan_memberships
Creating a unified authentication controller
Incorporating memberships the annotations accessible to an account.