move depends_on import out of utilities/__init__.py
preview function: generate better error messages

Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
unskip some doctests in ellipse.py
unskip preview_diagram doctest
renamed depends_on to doctest_depends_on