Add "locationsChanged" event to polyline layer.

Added a 'locationChanged' event when the locations property (LatLng) of the polylineLayer changes.
Added specs.

This is needed in our project, because we do live updates on the map (set markers dynamically) and therefore we need to observe the locations property of the polyline (when the 'LatLng' of the layer are already set).