Changed battle_config definition to extern to avoid mistakes in plugins

- This avoids plugins incorrectly using battle_config (with unreliable
  results) instead of using the proper interface, battle->bc.
- Edited various #defines to use battle->bc instead of battle_config so
  that they can work perperly in plugins as well.

Signed-off-by: Haru <haru@dotalux.com>
Follow-up to b6b3f58795288701d0e162d43fa6f0a47af913b3

- Includes in some files weren't sorted alphabetically. Special thanks
  to KeiKun.

Signed-off-by: Haru <haru@dotalux.com>
Renamed incuvate of Pet System.
Merge pull request #284 from MrKeiKun/fix_pet_table

Renamed incuvate of Pet System
Fixes and Clean-ups from Euphy for Wolfchev's Lab.
Re-Upload and fix the aegis conversion for item_db.conf
ItemDB SQL Sync

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Follow-up to 5f5380e8d5fa2e6042813e35101cb33b656e3972

- Fixed a missing semicolon in the upgrade script. Special thanks to
  QQfoolsorellina

Signed-off-by: Haru <haru@dotalux.com>
Follow-up 5f5380e and a42f880e, Fixed crappy coding with sql-update file(Special thanks to QQfoolsorellina)
Added missing changequest commands on Alchemist Job Change Quest.
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Fixed issue 8201
http://hercules.ws/board/tracker/issue-8201-map-server-crash/
Fixed issue 8182
http://hercules.ws/board/tracker/issue-8182-cloaking-on-ice-wall/
Fixed minor typo on script_commands
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fixed an exploit in the custom jobmaster NPC

- Improved legibility (renamed variables, replaced numbers with
  constants.
- Changed syntax to match Hercules standards.
- Fixed status point exploit upon Baby Novice job change.
- Special thanks to bgamez23.

Signed-off-by: Haru <haru@dotalux.com>
Improved @go command

- Corrected checks to correctly display the help message when an
  invalid map name is requested (rather than warping to Prontera)
- Removed huge list of hardcoded town names (special thanks to KeiKun).

Signed-off-by: Haru <haru@dotalux.com>
Corrected Bioethics quest checks in the Biochemist NPC

- As of 4ea6d474 (almost 7 years ago!) the correct check is bioeth==13,
  rather than MISC_QUEST&64. Special thanks to ossi0110.
- Minor tweaks to the script to match Hercules standards.

Signed-off-by: Haru <haru@dotalux.com>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Corrected a nullpo report in 4c8d773d72ae134f7cc4d43861104ecd9f4ae134

Special thanks to ossi0110

Signed-off-by: Haru <haru@dotalux.com>
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>