Some work on the Deserializer class.
Add a HandleManager class for working with handles to objects.

This will be used with the new GUI system and currently only supports 32-bit handles.