Move parse_listfile out of core.py and into parsers.py

This function is only used in the parsers module, so it makes sence to
have it in the module.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>