Shifted the spin_id_to_data_list() function from pipe_control.selection to lib.selection.
This is because the selection object requires this function, and the function has nothing to do with the relax data store.
Authored by: bugman 2013-06-16
Parent: [r20159]
Child: [r20161]