The resource pool can receive various subsystems.

The search in directories are now done by a directory_resource_pool. Each
directory is handled by a resource pool.

A macro has been added to throw an exception when the SDL returns an error, in
bear::visual.