use common instruction size when writing

we already have the instruction size available. don't need to force
myself to remeber to return it when writing instructions
compile all resource ints to big endian

also fix protocol resource to convert from big endian when loading
still need to fix remaining resources to convert when loading
tmp commit that breaks compilation

just using this to pass through to another computer
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
remove some unused structures
fix additional resources to store in big endian
fix qbrt to read resources as big endian ints