HPM Update

- Made DB and malloc HPM friendly
- Also fixed a bug preventing the plugins to be loaded because HPMI and HPMI_s weren't marked as "HPExport" (don't know if it's because I use visual studio 2012)