Hi Keith,
While I haven't built a dwelling out of a shipping container, I was quite taken with the idea a couple years back, and did quite a bit of reading. Are you familiar with
http://www.residentialshippingcontainerprimer.com/ and
https://renaissanceronin.wordpress.com/? Some fluff on both sites, but also some good information.
Though I've moved on from planning to build a sea can house, I bought a 20' highcube for use as a workshop/storage space this spring, which has worked out well so far. I intend to add another container later, and use them as supports for a larger workshop.
I'll try to hit the high/low points as I recall them from my research.
The main thing that put me off the sea-cans for a dwelling was the difficulty of really utilizing that wonderful, tough, impermeable steel skin. Unless you are building a larger structure around the can, you really have two basic choices; insulation inside, or insulation outside. I ended up deciding I didn't like either choice very much.
If you insulate inside, you make the space smaller. Length is no big deal, but width and height are. A 20' can is about 7'-8" inside; even 3" of insulation and a thin skin inside that will bring you down to barely 7'. Height is only a bit more, so again, squeezing an already tight space.
If you insulate outside... well, that steel shell just doesn't strike me as the ideal interior wall, and now you need a weatherproof exterior wall anyhow. At this point all the container is providing is strength. Plus, you've got thermal bridging to worry about; you need your insulating shell to be very complete, because anywhere the can is exposed to outside temps will be a major thermal bridge.
The best system IMO to address this is he one that the renaissanceronin site advocates; to have closed-cell spray-foam applied to the entire outside of the can, and then attach siding to studs imbedded in the outside of the spray-foam, relying on the foam to hold this all together rather than accepting the cost in time, dollars, and thermal bridging of securing the studs via bolt/screw/weld to the can itself. The doors would be somewhat more challenging.
Either way, you will be relying on forced air for ventilation... I'd be worried about condensation/mold issues with the insulation on the inside, too. To mitigate, I'd want to use something that is NOT fibreglass batts, as mold resistant as possible. Perhaps rockwool, or rigid insulation board if you are comfortable with possible offgassing in an enclosed space like this.
I still think containers are a great resource, but just don't see them as very well suited to living in. To do it right seems to involve enough work, and compromises, that other options seem preferable. For a workshop/storage space I think they're great.
What about going ahead with the container as secure storage, and living on top of it in a tent, or walltent, or tiny yurt? Seems like it would make an awesome tent platform, out of reach of most critters. Ideally you could connect the top of the container to your treehouse with a bridge/ladder...
Keeping critters out, I assume you mean the small flying sort, I really don't see any option except a screen wall right inside the doors.
As far as treehouses go, all I can offer is a suggestion to look into treehouse attachment bolts or garnier limbs as a starting point. There's a bit of info here:
http://treehouses.com/joomla/index.php/construction/treehouse-layout