Make sure IE9 gets integers because grad.addColorStop fails with floats
Merge pull request #2910 from ofirdev/master

Make sure IE9 get integers for rgb
Use empty private dictionaries instead of removing them.
Merge pull request #2912 from brendandahl/empty-private-dict

Use empty private dictionaries instead of removing them.