Resist out of a gibber fix

The gibber will now react properly to a mob trying to escape from it, even if the mob isn't the 'occupant'. It can happen if the mob changes to another one, like a changeling.
New machinery proc, dropContents, it's basically a chunk of open_machine()