Carousel: Add and use an in_gallery variable
set by a low-priority post_gallery hook

Props @chrisbliss18
Carousel: fix check if we're in a gallery
Merge pull request #101 from jeherve/1655-trac

Carousel: logical issue in wp_get_attachment_link filter