start reading resources as big-endian

haven't fixed them all yet, but checkpointing here
fix resource load for function/polymorph/construct

this makes qbi run completely now, although still many values do
not show up correctly in the output