Change order of contexts, set up access_token based on provider.
Create factories for new providers.
Allow macro to specify factory.
Add json_spec for rspec
Add json_spec to spec_helper
Remove usless factories.
Use identity factories for properties.
Use identities for access tokens, compare json not strings.
Use nested hstore types to solve messed up hashes.
Mock shibboleth properties.
Test to see if certain properties are present.
Merge branch 'feature/newschool_ldap_attributes' of github.com:NYULibraries/login into feature/shibboleth-api

Conflicts:
	app/models/identity.rb
	spec/controllers/api/v1/users_controller_spec.rb
	spec/support/doorkeeper_macros.rb
	spec/support/user_macros.rb
Merge branch 'feature/newschool_ldap_attributes' of github.com:NYULibraries/login into feature/shibboleth-api
Add scenario for NYU Shibboleth, dry test up.
DRY tests, try to match actions with steps.
Add entitlement field for NYU Shibboleth.
Probably a better JSON test.
Merge branch 'feature/newschool_ldap_attributes' of github.com:NYULibraries/login into feature/shibboleth-api

Conflicts:
	features/step_definitions/api_steps.rb
	features/support/helpers/nyu_shibboleth.rb
	spec/controllers/api/v1/users_controller_spec.rb
Change methods signatures that end in '_for(location)' to '_for_location(location)' for clarity.
More thorough and sane rspec tests.