Added a new resource manager class that loads resources on demand. It has a global instance but can also used locally.
Made the Font class more stable (It doesn't crash the program if you load and use a nonexisting font file).
The Text class now just stores the name of the used font and uses the global resource manager to retrieve the actual font object.
The textrenderer also uses the new resource manager.