I like the drawbridge idea too. The only issue I can see with it though, is the chains would get in the way of things going on and off the shelf.
The drawbridge might happen, but I think your first idea is going to be the winner. Although after drawing it in sketchup, I don't think an auto deploy mechanism for the legs will be worth the trouble. And done right it should be really quick to manually extend or fold the legs up and rarely needed, as the first three feet will be accessable without deploying them.