trim plugin.xml values

trims the whitespace when reading values from plugin.xml as they may
have characters that affects UI.