Added the defaultCountry option.
As indicated by its name, this option preselectes a default country if the option is specified and matches a known country.
If not specified or does not match a country, the current behavior is preserved.
replace javascript calls to trim() with $.trim(..) for IE8 compatibility
tidy up