CSS style nesting improvements

CSS's nest in a predictable fashion.  Tests added to support nesting