Simplify os_publications_biblio_entry_alter().
Export the logic to a helper function.
Merge branch 'SCHOLAR-3.x' into 1416-cleanup
Use filter_xss() in _os_publications_attach_abstract()
#1716: Render a placeholder image in wysiwyg.

Media used to take care of this before. If a formatter returned nothing for a wysiwyg, it would generate a placeholder image. Now the default behavior is to generate a link to the file instead. This is useless for iframes, so I had to render something. With that fixed, the rendering issue on node view fixed itself.
Adding the book cover
Merge branch '1416-cleanup' of github.com:openscholar/openscholar into 1416-cleanup
#1730: Fix error when ctx is not the document.
#1730: Remove ctx = document restriction so it will work on ajaxed forms.
#1730: Create blank pane to the right of the media browser. Fill it with file edit form when a file is selected.
#1730: AJAX form will continue to load in the pane after the first one.
#1730: Cleanup the file edit form we get from ajax.
#1730: Basic saving of file edit form is functional.
Fix notice in file upload form.
#1730: Tighten up media browser in a popup.
#1730: Tighten up media browser edits.
#1730: Adjust file edit form slightly
#1730: Adjust options sent to ajax command to be a little cleaner
Fixed slideshow description typos.  #1557

Fixed text typos.

@tcheng001, I tried to fix the randomize option but it's working as far as I can tell.  It doesn't play the slides in a random order.  They'll still play 1, 2, 3, 4, 5, etc.  But the order is shuffled before the slides are added.  So which slide is 1 and which slide is 2 will vary when you load the page.

To test, create a slideshow with at least 4 slides.  Memorize their order.  Refresh the page.  Did they keep that order or get a different one?
#1754: Skip extra steps when uploading file.