Sanitize git_diff_format_email_options' summary parameter

It will form part of the subject line and should thus be one line.
Added a test case for formatting a binary patch e-mail