Backend updates on how loading works

Moved everything from Loader to ResourceFormat, in preparation
for writing files and to give better information about what's going on
with loading. Everything also now goes through a ResourceManager to enforce
localization.