graph.cgi can now be run from an arbitrary location provided
matplotlibhome is relative
Replaced usage or urllib.urlencode with a custom method to ensure valid
XHTML is produced.
& -> &amp;
Added alt attribute to the graph