More minor enhancements and bug fixes

- added a configurable behaviour for collapsing or expanding items by default.  New configuration parameter: defaultCollapsed (false by default if not set.)

- fixed item not collapsing properly if a new item is added not during initial construction item list construction time.