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. I need to return to the previous search.  I know 2 ways to do that
1. retrieve search from session and redirect
2. redirect using referer
I initially used session but it looks ugly. Using referer simplifies things. 
I believe session is also spoofable. If you want me to use session I can do it. If there are other ways to return to previous search I will appreciate you point them to me