set_constant the send_target

fix bug 8049
http://hercules.ws/board/tracker/issue-8049-specialeffect-target-self-doesnt-work/
Fixed Bug 8046

Fixed issue with permanent statuses being removed during logout for memory-freeing operations, special thanks to streusel and all those who contributed to the bug report.
http://hercules.ws/board/tracker/issue-8046-cart-disappearance/

Signed-off-by: shennetsind <ind@henn.et>
Fixed issue 8043
http://hercules.ws/board/tracker/issue-8043-arch-bishop-lauda-ramus/
Also corrected similar issue with AB_LAUDAAGNUS, now both skills can be used properly whether the caster is in a party or not.
Special thanks to kyeme for reporting this issue
Fixed some warnings (unused functions) pointed out by clang-5.1.

Signed-off-by: Haru <haru@dotalux.com>
Merge pull request #265 from AnnieRuru/request_1

set_constant the send_target
Fixed Bug 8067

Sample plugin compiler error on msvc, credits to AnnieRuru (Thank you!)
http://hercules.ws/board/tracker/issue-8067-pluginsamplec-throws-error-on-microsoft-compiler/

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

Special Thanks to kyeme, Haruna
http://hercules.ws/board/tracker/issue-8072-map-crash-autotrade/

Signed-off-by: shennetsind <ind@henn.et>
Fixed getvariableofnpc

Would crash when target npc's variable database is empty.
Special Thanks to Haruna, ossi0110

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug#8073
-http://hercules.ws/board/tracker/issue-8073-removing-magic-gear-and-cart/?gopid=22195#entry22195

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Fixed Bug#8038
-http://hercules.ws/board/tracker/issue-8038-shadow-chaser-feint-bomb/?gopid=22073#entry22073

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Updated rA-Herc Database Upgrade File.(Saves Autotrade data, Converts
global_reg_value table to 6 tables of Hercules)
Updated File