added small tweak so that input elements which have localized titles don...

This builds on the previous addition that allowed title localization on any element.  For input elements, the localizeInputElement didn't consider that the value might be an object with value/title keys.  I added a test for this.