Somewhat better line reporting on doctest failures

The line isn't precise (because we don't know the line of the @doc
or @moduledoc), but it points to the line where the definition starts