Gallery Shortcode Fix

A quick fix for http://core.trac.wordpress.org/ticket/23298
N.B. images now link to the file as default