Adding python unit tests for graduated renderer - part 1
Further unit tests
Fix render state not restored from QDomElement
Merge pull request #1630 from ccrook/GraduatedRendererUnitTests2

Graduated renderer unit tests2