polyline: Added encode/decodeFlatCoordinates() functions