Initial support for endian-independent resource loading.

Added initial support for endian-independent resource loading. It should fix #25.

Please, test it on big-endian machines!