Medium: crm_gv: Support rsc_template in graphs (bnc#850159)

* Draw templates and link the primitive to its template in
  the configure graph output.

* Use smaller sans-serif fonts to reduce graph size.