pcore: add python wrapper for getRecordings

And move it to a SWIG interface file