[z2627] Fix Compile. Requires C-Mangos [z2212]

Also tune a few GetData functions

(based on commit da98ca9)

(based on commit [s2663] - fcee40e)
[z2628] Improve some static code. Also cleanup npc_doctor and npc_injured_patient script

(based on commit 86b2bbc)

(based on commit SD2-TBC[s2664] - d76beaa)