Corrected bug that made a new subgroup appear to be outside its parent
when added (until refreshed). 

Added new feature which makes a collapsed group to expand when added a
new subitem to that group.
Added feture to expand/collapse group with dblclick.