set default backend to a non-X backend and switch X on if no output-file is given (fixes #312)
Handle exception if outputfile is not in the following format: eps, jpeg, jpg, pdf, pgf, png, ps, raw, rgba, svg, svgz, tif, tiff
fix error with not installed gtkagg backend on osx -- use gt4agg instead
switch order of backends