Merge pull request #38 from hudmol/clustering-doc-update

Note that Nginx's config file might be in a different spot on some distributions [ci skip]
Focus the modal upon displaying to reset the tab index; Also focus the modal initiator upon closing the modal, to allow the user to continue from their previous tab index;
Merge pull request #588 from hudmol/bug-fix-modal-focus

[Delivers #54842540] Fix browser focus not moved to modal dialog
Indexer changes to reduce memory footprint and improve performance

These include:

  * Store batches of documents on the filesystem before sending to Solr

  * Don't send both 'fullrecord' and 'json'.  Use a Solr copyField to derive
    one from the other.

  * Convert data cleanup functions to use in-place string functions.

  * Use multiple indexing threads
Fix up for 'did_something' check in indexer
Remove unused hash variable
Merge pull request #589 from hudmol/indexer-performance

Indexer changes to reduce memory footprint and improve performance
Added eager loading of nested records & relationships when viewing records.
Added missing foreign key definitions for the date table
Merge pull request #591 from hudmol/record-get-performance

Record get performance
Added some extra documentation to relationships
Some more documentation improvements
Prefix cookies with a configurable string to allow multiple instances on the same hostname
Fix a couple of spots in shell scripts that could choke on spaces
Allow addition of multiple RDE rows in one action

WIP allow basic fill of a RDE column

WIP basic js refactor to introduce contexts for setting up each fill form

WIP introduce basic sequence form (not working yet)

Add ability to apply a sequence to a RDE column

WIP remove reliance of column indexes from RDE javascript

WIP add ability to reorder columns

Re-enable sticky columns, remove unrequired js/css, and allow toggle between the fill and reorder panels

I18n all new RDE strings

Fix sequence fill.. still refering to indexes

Rebuild the section header row when the columns are reordered
Add new RDE selenium tests.. plus fix add-row not working in firefox
Fixes for update monitor polling

  * Don't use httponly for session cookies.  We need access to sessions from AJAX.

  * Don't apply CSRF protection to the "poll" method, since it zaps the session
    when it fails.
Get the seleniums tests running again...

1) re-add the jquery-ujs resource to application.js - this is the unobtrusive brains of rails, which we use for a few actions
2) ensure the CSRF token is added to the request when a jquery $.ajax POST is performed
Limit the number of values returned by the generate sequence endpoint - limit to the number of rows in the RDE form (or 1000)
Add some more RDE help text