Follow up ce6c4c63a3a5c1516780f2eac978d02820a8dc0b

Fixed shutdown memory manager warning.

Signed-off-by: shennetsind <ind@henn.et>
HPM Custom Data Struct Makeover!

- Modified how the core handles it, making it easier to add new points.
- Modified how plugins call it, calls were made shorter, e.g. 'HPMi->getFromSession(session[fd],HPMi->pid,0)' => 'getFromSession(session[fd],0)' -- check src/common/HPMi.h #defines for all the options
- Added support for npc_data (getFromNPCD and so on) as requested in http://hercules.ws/board/topic/2923-hpm-custom-struct-npcs/

Signed-off-by: shennetsind <ind@henn.et>
Follow up 8fda38dcdabbb9d252b0e11fb07b2ad37f9e659f

Fixed compiler error on selected systems, thanks to haruna bringing it up!

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules into ghbb