Fix namespace - class has been moved in DCG.
Add support for legend specification in sub select palette parsing.
Code style - line length.
Throw an invalid argument exception for invalid property names in sub palettes.