Feature/edit button on results

This feature adds Edit and Destroy buttons to the search results and detailed search results. Only authorized users can see the buttons. 
After the feature is implemented I suggest we modify nyucore.rb#index, which now lists all nyucores object without pagination. 
The following files were added:
﻿app/views/catalog/_document.html.erb
app/views/catalog/_show_default.html.erb
features/edit_button_on_results.feature
feature/step_definitions/edit_button_steps.rb
The following files were modified
app/controllers/nyucore_controller.rb
feature/step_definitions/record_steps.rb


That won't work. 'Given the record "The Tempest" exists' step creates the record, which is later deleted. It looks like when you were writing those tests initially you wanted to use FactoryGirl and not rely on the existing data. I followed the pattern as I think it is safer even though we now re-build test db each time...Anyway I will try to make it more readable