Refactor ResourceHandle.

It now uses a single Object in place of a field per possible resource.
:core Fix ResourceManager unload() failing.

Stupid typo.
:core Minor tweaks to ResourceManagerTest.