Implement DetailsElement.open property for javascript usage.

Changed initializing method from details_shim() to details_shim.init()
Enabled shimming of single element by passing it to details_shim()
Added details_shim.toggle()