This addresses all earlier comments. Especially perf mem report for mem-stores now works correctly again.
The Haswell PEBS list unfortunately isn't simple anymore to report all the mem_op flags correctly, but at least it's more correct than before. Also fixed a bug.