Infinite scrolling.  Take one.  #2650

1. Updated makefile to include views_infinite_scroll and autopager jquery library.

2. Wrote a custom function for publications.  It loads the relevant js and provides settings defining what to autopage.  Basically these settings are a content selector and a link selector.  When the bottom of the page is reached, the link selector loads up the next page.  The content area of that page is ripped out and added to the content area of the current page.

Still not convinced we need both options.  If 2 works for biblio, it'll work anywhere else.
Fixed redundant headers in inf scroll $2680

Used autopager's load callback to strip out redundant instances of a selector.  I think this is fine for os_publications, but I'd like to clean it up if we generalize and use this js elsewhere.
infinite scroll updates #2680

- Created patch for autopager lib.  Included it in make file.
- Added throbber image to biblio infinite scrolling.  Had to rework the load and start callbacks a bit.  jq.autopager was expecting a function here and I wanted an array of functions (the alternative being a giant monolithic function with no single purpose).  I was hoping to be able to set that up in the php function that applies an autopager, but it got ugly fast and I would have needed eval(), so I went with a flag to remove biblio separator bars instead.

On publications: permalink urls, loading gif, and redundant separator clearing all work.  Time to start adding this to views.
Enabled infinite_scroll in most feature views.  #2680
Switched sv list to litepager #2680

That was an underwhelming amount of code.
New patch, updated openscholar dependencies #2680

Previous patch didn't apply right.  Rerolled.  Also moved url replaceState.  It was coming too late and actually gave you the next page, not the currently loaded page.

Added infinite scroll and lite pager to drush make and our install profile so they'll be on by default.
sv list box falls back to full if lite pager is unavailable #2680
Fixed os publications autopager selector.  #2680

I was having problems with coauthor and types on the publications page.  TUrns out my selector wasn't selective enough . When content had no next button because, it was grabbing the button from one of the sidebar widgets.
Forgot to make pager hiding more selective #2680

Only hide pager in content area.
Lite pager for biblio widets.  #2680
Scrolled pages get contextual links  #2680

/publications wasn't getting contextual links on the ajax loaded pages.  I had to call Drupal.attachBehaviors to get those back.  Doing that tried to initialize the autopager again and that broke permalinks, so I wrapped the whole thing in a .once.  Now ajax loaded pages have contextual gears and the permalink updates again.
Litepager needs a patch to install cleanly.  #2680
Fixed infinite scroll for classes #2680

EVA view was used to get class materials.  This view inherited the pager from the page view.  infinite scroll doesn't support multiple pagers on a page.  I had to override the EVA view's pager setting, but now it all works fine.
Added views_infinite_scroll patch #2680

Patch needed for cp_content/*.  The VBO form blocks the default selector from finding the content table.
Update hook enables infinite scroll and litepager #2680
Update cp/content content, files, comments views to infinite scroll #2680
SV list uses views mini pager (eg: << 1 of 3 >> ) #2680
Moved inf scroll function.  Applied to taxonomy.  #2680

Publications aren't the only non-view infinite scroll is being added to.  Since os_taxonomy is getting them too, it doesn't make sense to have it be a function of os_publications.  The function to add infinite scroll to a page has been moved to an include in os, accessible with ctools_include.

Added infinite scroll to os taxonomy.

Tweaked how the pager gets shown and hidden.
Removed infinite scroll from content types we don't want it in.  #2680
Reverted pub widget change in infinite scroll ticket.  #2680