If get_location_ids() fails, try searching
only up to the first space (Yahoo changed their server)
and hope for an exact match.
Pass unicode strings to avoid a warning.
Pywapi's Yahoo search no longer works, so allow weather codes
to be specified on the command line, e.g.
weatherwin USNM0179 USNM0531 USCA0993
Get the real city name from the forecast once we get one.