Added tooltip HTML template parsing capabilities

Main change is the addition of an "else if" in showFeatureInfo in line 139:

```javascript
                } else if (tooltipAttributeName.contains('[%')){ // Look into displayField for template tags...
                    var tooltipText = tooltipAttributeName;
                    var re = new RegExp(/\[%[^"]*"(.*?)"[^"]*%\]/g);
                    var ttmatch;
                    while(ttmatch = re.exec(tooltipAttributeName)){
                        var key = ttmatch[1];
                        var val = attributesDict.hasOwnProperty(key)?attributesDict[key]:"";
                        tooltipText = tooltipText.replace(ttmatch[0], val);
                    }
                    text += tooltipText+"<br/>";
                }

```

This was necessary to support HTML tooltips.


Also fixed a typo in italian translation. 

Other minor changes are editor's automatic strip of trailing spaces.