Parsers.config._locate_item() rewritten

Previous implementation shared a lot of core with
parse_string and has now been refactored to use it internally.

It should work the same way it did before, but this patch also
fixes incorrect docstrings.
Merge branch 'locate-item-rewrite'