Move 'get_string_module' and 'get_string_scope' into libutils.

These methods didn't use anything within the 'pycore' object except to
pass that in as a parameter. It's better to have people call a library
function instead and use the 'project' object without having to access
'pycore' directly.

No functionality change intended.