Add ResXLoader class and its tests.