line2df function

Convert geographic line objects to a data.frame with from and to coords