updates plugin to work with WP 3.5 gallery shortcode

closes #5