Make sense css match the xhtml for items in senses

* Add method to find the type based off of the node
  without any real objects and use it in both XHTML and css.
* For configuration nodes that are dealing with collections
  generate css that will match items in the collection.
* Set parent property in tests which didn't have them so they would
  work with the new type finding code.
* Add test that verifies the collection code works by checking
  sense options.

Change-Id: Ia98b2cc686a35ad346d15cd8d5a687ff30981b8c