coremanager.py: Add method get_property

Add API function to get a propery from a core, and optionally from
its dependencies