add a method to Cursor for getting the 'runtime profile' string

Next step would be to try to do some parsing of this to produce structured results, it's an insanely information-dense thing.