The previously-hooked addMenuEntry method in runescape-client is one that occasionally gets inlined which can cause weird breakages like MenuEntryAdded not getting fired for menu entries defined in ItemDefinitions. Hooking the menuOptionCount field should be more reliable. Fixes #936