fix toolchain tests
cache toolchain instances and easyconfig paths
add support functions for determining toolchain details
fix import in parallelbuild.py
flesh out function to obtain toolchain definition