Rename storeDomElements to storeGeneratedContents

The default is to store the entire generated DOM node, but in
general classes can store anything that can be held by the store.

Change-Id: Ia761079fadfb5a6cfa2f00e5b5e23d6c6d3468ac
Merge "Rename storeDomElements to storeGeneratedContents"