MAINT: no more table factory, and added Table._to_sparse

`table_factory` and `to_sparse` are gone. I'd like to get this one merged if possible first before simplifying `Table._to_sparse` as this is pretty broad reaching