Merge pull request #787 from isuftin/legend-update

Accidentally added checkins to this feature branch for CSS Print functionality
Updated for ribboned layers to group legends properly