Gallery Shortcode Fix

A quick fix for http://core.trac.wordpress.org/ticket/23298
N.B. images now link to the file as default
Merge pull request #787 from Foxaii/gallery_shortcode_fix

Gallery Shortcode Fix