Add [installed] information to -Sg/-Sgg output
This allows users to easily check which packages in a group are installed (or not).
This merge request also has related commits which make
the colored [installed]
labels less obtrusive.
Edited by Taro Tanaka