l0utils/getPaths: retrieve paths of a compound path that contains groups; handle selections properly; use better function and parameter names; add parameter for selecting path properties