Added back older version of from_kml method because, for reasons unknown, KmlParser.new(factory) does not work in this version of Georuby.