qemu.py: measurement stuff moved to perf.qemu
config.py: code from qemu moved here as a platform-specific configuration
perforator.py: code fixed to work with config.py