Permission cache overhaul

* Reworked group permission caching in session data (follow-up to cd45c30ab2dcc44bfbfac283d15bb09b3d4644bc)
 * Removed duplicated information from session data in favor of direct pointer to group settings.
 * Added getters for all group data required to process permissions and related stuff.
 * Added new functions to PC interface and updated calls everywhere.
 * Extracted function to set new group for a player (used at login, group config reload, manual adjustment of group).
 * Moved command permission config parsing to atcommand module.
* Improved dummy map session handling.
 * Since it's required for all map sessions to have a valid group, dummy sessions are now created by a designated function.
 * Updated related code that uses dummy sessions (console `gm use` and script `atcommand`, `useatcmd`).
* Various minor improvements and cleanups.
 * Eliminated some global variables related to loading atcommand permissions for group by passing them directly to function.
 * Moved definition of global array holding PC permission names from header file to source file.
 * Streamlined destuction of atcommands database to use DBApply helper function instead of DBIterator.
 * Replaced hardcoded position of console dummy session with defines from mapindex.h (thx Haruna for pointing it out).
 * Removed fixed length restriction on group names.
Fixed Bug #7486
- Fixed 'close' issues that causes players to stuck.

Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
Fixed Bug#7601
-Disabled reflect damage cap in pre-re.

Fixed Bug#7606
-Where GC_CREATENEWPOISON is not working properly.

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Merge pull request #71 from HerculesWS/permission-cache-fix

Permission cache overhaul

* Reworked group permission caching in session data (follow-up to cd45c30ab2dcc44bfbfac283d15bb09b3d4644bc)
 * Removed duplicated information from session data in favor of direct pointer to group settings.
 * Added getters for all group data required to process permissions and related stuff.
 * Added new functions to PC interface and updated calls everywhere.
 * Extracted function to set new group for a player (used at login, group config reload, manual adjustment of group).
 * Moved command permission config parsing to atcommand module.
* Improved dummy map session handling.
 * Since it's required for all map sessions to have a valid group, dummy sessions are now created by a designated function.
 * Updated related code that uses dummy sessions (console `gm use` and script `atcommand`, `useatcmd`).
* Various minor improvements and cleanups.
 * Eliminated some global variables related to loading atcommand permissions for group by passing them directly to function.
 * Moved definition of global array holding PC permission names from header file to source file.
 * Streamlined destuction of atcommands database to use DBApply helper function instead of DBIterator.
 * Replaced hardcoded position of console dummy session with defines from mapindex.h (thx Haruna for pointing it out).
 * Removed fixed length restriction on group names.
Follow up e14ab5561a53bc17c9186a22ecd07060772e6dc6

Fixed Travis, special thanks to Gepard

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

For packetver 2009 and below.
http://hercules.ws/board/tracker/issue-7605-problem-with-old-client-versions/

Signed-off-by: shennetsind <ind@henn.et>
New 'close2' warning

When attempting to use this command without a prior dialog window it now will throw a warning and skip halting the script.
Special Thanks to j-tkay, Gepard.

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

Added bonuses for items:
- 2917
- 2918
- 2919
- 2920
- 2921
- 2922
- 2923
- 2924
- 2925
- 2926
- 2927
- 2928
Fixed Bug #7602

@homlvup/@homlevel now functions for homun-s
http://hercules.ws/board/tracker/issue-7602-homlevel-homlvup/
Also adjusted @makehomun so that it resurrects the homun when call isn't possible (for when used with -1), prior to this it'd do nothing when homun was dead and not vaporised.

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

Added the missing support for conf/battle/gm.conf::atcommand_mobinfo_type on @mobinfo (partially from rathena)
Modified @ii to stop always displaying 'monsters dont drop this item' while the configuration is on.
Special Thanks to Napster.
http://hercules.ws/board/tracker/issue-7453-mobinfo-iteminfo-not-showing-the-correct-information-depending-the-level/
Follow up 2fbec282b9b3eb84f710d5537f70e6bc221187b3
Missing messages.conf entry

Signed-off-by: shennetsind <ind@henn.et>
Travis Modification | Follow up e14ab5561a53bc17c9186a22ecd07060772e6dc6

Disabled the irc channel notifications; it was mostly spamming with duplicate information from the other bot.

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

(LG) Overbrand no longer capable of hitting targets with hide (can do so with others e.g. cloak), and it displays a miss when failing to do instead of no feedback (thanks to kisuka for this part).
Special Thanks to gunzlinger, kisuka.
http://hercules.ws/board/tracker/issue-7080-overbrand/

Signed-off-by: shennetsind <ind@henn.et>
Fixed Cash Items Upper values

Issue existed in renewal mode only; Special Thanks to Jezu for bringing it up.

Signed-off-by: shennetsind <ind@henn.et>
Enabled other accounts to login
Merge branch 'master' of https://github.com/HerculesWS/Hercules