slightly more robust rotated rect resolution
Use same code for resolving all rectangles
Rules for standing on things
Start of big reorg of physics stuff