Set node caption to first attribute if no style.

If no grass style that match a node with
attributes specifies which caption to use,
the first one from the attribute list will be
chosen. If no attributes, db id it is.
Remove variable check that's always true.
Merge pull request #3018 from oskarhane/default_caption

Browser: Make node default caption the first attribute