- Fixed sigfault error when releasing CSurface resources on shutdown.
Some object deleted CSurface owned by another surface, leading to sigfault when owner tried deleting the CSurface. Fixed by replacing CSurface pointers with std::shared_ptr. CResourceManager would break everything, because CSurface registered itself as CResource pointer, and CResourceManager would delete that pointer. So instead of rewriting CResourceManager, I removed it completely, since it wasn't really useful at all. At least the unnecessary reloading of resources is now fixed too.

Signed-off-by: Jan Nemecek <Nemecek.Jan@seznam.cz>