Add 'get_pymodule' method to 'project'.

This hides some of the 'pycore' functionality and provides a much more
descriptive name.