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.
@tallytalwar, yes it seems that it's a good explanation about what's happening.