Added lastCore and lastNode to performance data

Based on hwloc_get_last_cpu_location(), output the last core and last node an
operator ran on in the performance data.
In order for this to work on non-NUMA systems, functions like getNodeForCore()
will return -1 on non-NUMA systems instead of throwing an exception.