Resource storage is implemented and used for all resource types.
Implemented resource deletion
Moved the Handle/Storage into a separate module. Implemented Index for Storage.
Documented resource-related methods and types a little.
Fixed the gfx_macros_test by introducing a fake buffer handle
Merge pull request #144 from kvark/resource

Resource management