Update history for #615
Remove trailing whitespace following #604
Clarify the headers are omitted with --quiet for #615
Tests for #615
Extract gem query header display

The code for displaying the header was duplicated between the local and
remote halves.  This is now in its own method, display_header