Enforcing embargo on search and edit/show views

Fixed issue with NOT queries not working for embargo. Also added in group checks for embargo. Might be a performance issue because of current_user.person.groups loading the Fedora objects for each group.

Unit tests for embargo on a work

Typo in method name fix

Have to override hydra-access-control's ability.rb to enforce embargo for cancan checks

Cleaning up previous commit

Enforcing embargo on the edit cancan checks

Only work objects can have embargo enforced

There are CanCan calls that use SolrDocuments as input. Needed to accomodate those by using the hydra-access-controls test_read and test_edit methods, but those were already overriden before to only work with ActiveFedora::Base objects as input. Needed to refactor these calls to work for both

Updates to the end_to_end feature test

Fixed date format in test

Fixed date format in test - removed comments

Changed embargo date back to one day

Fixing logic issue with read access for non-embargo records

Updating end_to_end feature test to accomodate new UI - Still need to update view_your_dashboard method
Merge pull request #468 from projecthydra/feature/HYDRASIR-324

Feature/hydrasir 324