Fix: Initialize stock correctly such that it is recognized as an inventory building.
building: Add BUILDING_HAS_INVENTORY() macro.

Returns true for castles, and stocks that are complete and ready.
building: Convert packed stock field into struct.

As a side effect this fixes #53 by avoiding weird overflow errors.