Sync mail via offlineimap if available.

  This just moved the older code into a new function.
  Limit folders to google.com matches.
  Fixed comment to refer to get_signature.

  No the previous on_signature.
  Call on_signature for message replies too.

  Previously we only inserted the .sig for composed mails,
 and script-sent mails.