Small media_gallery fixes. #896

Cleaned up some notices for mg.
Taxonomy changes made sv list WSOD when displaying images.  Fixed that too.
#869: Prevent overlay from opening when Add media link is clicked.
Made patch out of mpetrovic's js fix.  #896
Media gallery.  js fix, max filesize, began update hook.  #896

Update hook isn't finished.
Media gallery update hook for media_gallery_media.  #896

First working pass at the field update hook.  Not sure that the indexes were recreated successfully, but other than that it looks good.  Going to re-run and start updating references to the changed field.
Updated media_gallery field names.  #896.

Updated names.  Looking good so far.  The recent update hook did indeed index correctly.  Will be sending media_gallery a patch shortly.

Two things of note to clean up.  Both are usable but need some love.
1. The stacked photos view came back for the gallery listing.
2. Edit all media form has gotten out of control again.
Created and submitted patch for my update hook.  #896
Media gallery respects max filesize.  #896

Gave media_gallery and upload_validator to keep it from accepting images that were too big.
media_gallery - refixed hijacked taxonomy page.  #896

media_gallery oversteps its bounds and hijacks a taxonomy term page to display its collections.  This ended up taking over /galleries as well, which is why our view wasn't viewable.  I'd fixed this in a previous version, but it wasn't applied in the recent update.

Re-fixed it.  Rerolled patch and sent that in.

So far this looks good, but I'm still waiting for my prod files to sync so I can test it for sure.
media_gallery file size #896

Made it a little more robust.  It shouldn't err if the field has no file size limit
Merge pull request #2016 from openscholar/896-media_gallery

896 media gallery