Remove the extraneous p and br tags that are generated when wpautop processes content prior to shortcodes. Based on http://wordpress.org/extend/plugins/shortcode-empty-paragraph-fix/.