Replaced own bool typedef with <stdbool.h> where available

Fixes bugreport:7645
http://hercules.ws/board/tracker/issue-7645-rev-12302-compiler-error-and-warnings-on-gcc-49

Special thanks to Takkun for VS2012 testing and info

Signed-off-by: Haru <haru@dotalux.com>
Fix for Bug #7471

HELLO WORLD. DADDY IS BACK.
Fixed ancient pc_calc_skillpoint bug that'd count guild skills towards the player's total.
Special Thanks to malufett and the countless who provided us with debug information on this issue.
This commit implements a temporary command @skdebug, in case there are people still reproducing the issue please include the output of this command in your new report, it displays the information required for us to adjust any possible oddities.
http://hercules.ws/board/tracker/issue-7471-skill-points-not-evenly-distributed-anymore/

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug #7646

Fixed changing map zones/flag of a instance map crashing, also added IOT_ (Instance Owner Type) constants to db/const.txt
Special Thanks to purityz for all the help and test scenarios.
http://hercules.ws/board/tracker/issue-7646-bg-mapflag-instance-reloadscript-mapserver-crash/

Signed-off-by: shennetsind <ind@henn.et>
Fixed crash uncovered by the ab1fad052cd771e183f496f5db922fa03a13edea update

Special Thanks to Haruna

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

Conflicts:
	src/map/atcommand.c
	src/map/pc.h
修正整合错误。