added ability to merge same properties when grouped
added skeleton for compacting into shorthand notations
minor changes
simplification for merging
implemented compaction to shorthands
fixed logic glitch in merging same properties