Clean up PHPDoc
Allow captions to be revealed on non-linked gallery items in iOS

Refs #135