intercept 404 on thumbnail with default thumbnail

intercept 404 on thumbnail with default thumbnail

Render default thumnail when thumbnail unavailable for any work

This commit with rescue 404 and 500 error with default thumbnail when trying to download thumbnail
Updating thumbnail display when no document

@TODO - The thumbnail display is an ugly partial. Ideally this logic
should be pushed to the downloads/thumbnail controller; Let the
controller deal with the image it received.

JIRA References:
https://jira.duraspace.org/browse/HYDRASIR-88
FIX - Creating a work with a collaborative group results in error

HYDRASIR-436
Merge pull request #504 from projecthydra/feature/HYDRASIR-88-Generic_thumbnails

HYDRASRI-88 intercept 404 on thumbnail with default thumbnail
Patching the Soft Delete monkey patch

[skip ci]
Merge pull request #506 from projecthydra/fix/soft-delete-install

Patching the Soft Delete monkey patch
Adjusting Registration updates for managers

In the case where a new user is attempting to sign up, and that user
is a repository manager, the Registration#update action was failing.
This is because `params[:user][:id]` was nil; The
RegistrationController is typically a singular resource (i.e. a
resource in which a given user has one and only one resource, and thus
there is no params[:id] that is passed).

So I am adding some descriptive methods to say what is happening. If
you are not a repository manager we update your account straight away.
If you are a repository manager, we determine if you are updating
another user's account or if you are updating your own account.

This is a stop gap measure as it is rearranging behavior that was
previously moved from Devise into Curate.

Also adjusting how the manager is looked up; By favoring Hash#fetch
over Hash#[], an exception is raised earlier rather than later.
Merge pull request #505 from projecthydra/feature/429-fix-error-while-creating-work-with-group

FIX - Creating a work with a collaborative group results in error
Adjusting registration controller

In the case of a user editing their own account, we need to ask them
to reauthenticate (as the password field is being rendered?).

In the case where I am editing another user's account (i.e. repository
manager), then I am not asking for the password of the account being
edited.
removing unused js and converting js to coffee script

trying to get coffee script work

fixing the issue with coffee script
fix key not found error
Merge pull request #508 from projecthydra/feature/218-browse-everything

removing unused js and converting js to coffee script
Merge pull request #507 from projecthydra/fix/user-manager

Adjusting Registration updates for managers