Initials for adding Organizations
Adds/modifies associations between CustomCollection <=> Org and CustomCollection <=> User.
Adds migration to change `custom_collections`.`user_id` to `custom_collections`.`owner_id` and add column `custom_collections`.`owner_type`, necessary for polymorphic associations.
Adds factory for Org instances.
Changes references to `user`, and `user_id` to `owner`, `owner_id`, and `owner_type` where needed.
Removes user_id from Custom Collection add/edit form, and supposes logged in user as the owner when creating new Custom Collection as non-admin user.
Removes vanity url's for scholar's custom collections for now. I'd like to either rework, or get a better understanding of how this is being done.
Changes :custom_collection factory to use FactoryGirl's `association` method, instead of setting foreign keys, for the `owner`.
Documents Ability::custom_permissions method, which touches on some Hydra stuff.
Changes `#custom_collections` to `#owned_collections` for `User` and `Org` models in anticipation of many-to-many between CustomCollections and Users coming up next.
Changes how owner is validated for CusotmCollection instances.
Adds method for getting filename of Image instances out of pbcore data stream. Need to replicate for Video and Audio.
Adds many-to-many association between Users and CustomCollections with a `has_many through:` the CustomCollectionCollab model.
Creates has_and_belongs_to_many association between User and Org with model tests. Still need views, and functional tests.