Add support for different visible grid styles

Replaced boolean Settings.DrawGrid with enumeration Settings.GridStyle.
Supported grid styles are:
 - no grid
 - dot grid
 - line grid
Add line grid drawing code to GTK HID