Adding the ability to show data with inner objects collapsed initially.

This little plugin saved me the time of having to write my own, but I need to show larger data objects in a collapsed-ish state initially. So I threw this together to handle collapsing the inner objects if needed. I could make it a little more elegant and collapse the whole thing, but this seems to work for me right now. So I figured I'd PR it in case someone else may need it.

I updated the demo page to show the difference in the two states.