Make sure color components cannot be anything else than numbers.
Import and export Item#data in SVG as well.

Closes #188.