shell: Rewrite Services extra header.

So that the parameters of the individual buttons are accessible.
shell: Hide Geard service tab when it is not installed.

Fixes #781.
shell: Use "--has-foreground" option with "gear install".