Add ObjectRef.hud_set_hotbar_itemcount and extend TOCLIENT_HUD_SET_FLAGS

hotbar_itemcount is currently hardcoded to 8. This patch allows lua to change this value (per player). To set the size of the hotbar to 9 items, for example:
```
player:hud_set_hotbar_itemcount(9)
```