parselist: move the function from config to stringutil...
parselist: move the function from config to stringutil
We move the function in a lower level module to avoid cycle. It moves next to
`parsebool` who had to migrate for the same reasons.
Differential Revision:
https://phab.mercurial-scm.org/D10449