Fix typo in configure.ac and improve Makefile.am

https://bugzilla.gnome.org/show_bug.cgi?id=703986
GWeatherLocation: fix handling of detached locations

The serialization format supports locations which are not present
in the database, and automatically matches them with the nearest
location already known, but it was doing it wrongly and most
important was creating a location that was already freed.