Png support and slightly improved resource handling

- added a quick and easy resource handler to cache duplicate loads and
take care of loading bmp, png and wav
- support for transparent png's
- updated test code a little to test movement and transparency
- updated the fps limit to a configurable proper implementation instead
of a thread sleep