Fixed Chart SVG rendering bug causing empty chart (#14822).

Root cause was that SVGGenerator and phantomconverter.js expected theme
and chart options to be in different order. Also fixed NPE if theme was
not set at all. Proof-read Javadocs and removed a broken link.

Change-Id: Ibf0aeb27691459a0b7b059e68da674ee613e1a12