Fixed Bug 7542

replaced pc_isuseitem 90overweight error message by its official version, added invent-full check for when trying to open packages/boxes, and modified mail getAttachment to fail when over 90% weight.
Special Thanks to kyeme.
http://hercules.ws/board/tracker/issue-7542-bug-when-weight-90/

Signed-off-by: shennetsind <ind@henn.et>
- Fix part 2 of issue 7841
- http://hercules.ws/board/tracker/issue-7841-endless-tower-part-2/
- Thanks to Haru for the getarg suggestion

Signed-off-by: Patskie <escalona3413@gmail.com>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Fixed Bug 7883

Special Thanks to Megasantos, Beret.
Follows up 098dbcf672e04657553b9f1629550e6bc8771af3
http://hercules.ws/board/tracker/issue-7883-reloaditemdb/

Signed-off-by: shennetsind <ind@henn.et>
Follow-up to 6e9c385b8fa2fbca97ca23e35f0b8e5dabd13526

- Case-sensitive AegisName and Sprite ID lookups are now optional,
  controlled by the case_sensitive_aegisnames battle config flag (you
  can set it to "no" to restore the case insensitive behavior.)
- Special thanks to Ind.

Signed-off-by: Haru <haru@dotalux.com>
Merge pull request #235 from Patskie/master

Fix part 2 of issue 7841
Improved plugins Makefile

- It is now possible to build a plugin without adding it to the
  Makefile, by using 'make plugin.my_plugin_name'.
- To have it built through 'make all' or 'make plugins', it is still
  necessary to add it to the Makefile, as before.

Signed-off-by: Haru <haru@dotalux.com>
Improved script builtin function parser

- Removed duplicate code shared between script_hp_add and
  script_parse_builtin.
- Improved error handling in script_hp_add to be on par with the
  script_parse_builtin version.
- Added script->add_builtin function, providing a hooking point for
  plugins (i.e. text editor syntax definition generators) to obtain the
  builtin commands list.
- Special thanks to Ind.

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Added regular expression matching script commands and operators

- The script command pcre_match and the operator ~= will return the
  number of regular expression matches in a given string (roughly
  equivalent to the php function preg_match or the perl operator =~)
- The operator ~! is the opposite of ~= (roughly equivalent to the perl
  operator !~)
- See script_commands and npc/custom/test.txt for more information.

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