Load resources as array of bytes

This would be particularly useful when loading fonts, added the three specific platform implementation and wrote a simple unit test for it.