- 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 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>
Fixed Bug 7879

guild storage would remain locked when the operation failed, now it unlocks regardless of success.
Special Thanks to GrumpyPanda
http://hercules.ws/board/tracker/issue-7879-guild-storage-bug/

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

- Fixed a memory leak (bugreport:7885), thanks to rosfus
  http://hercules.ws/board/tracker/issue-7885-memory-leaks-found-at-20131205-20h31m31s-rev-13617/

Signed-off-by: Haru <haru@dotalux.com>
Corrected some potential issues in the questlog system

- Should fixe bugreport:7888, thanks to rosfus
  http://hercules.ws/board/tracker/issue-7888-some-issue-crush-my-mapserver
- Special thanks to Ind.

Signed-off-by: Haru <haru@dotalux.com>
Fixed several incorrect script labels and events

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