Fixed #22049 -- Corrected a misspelling of dimensional
Change analyse (British) to analyze (American).
Fixed #22052 -- Corrected a misspelling of ellipsoid
Merge pull request #2281 from rhcarvalho/ticket_22053

Change analyse (British) to analyze (American).
Fixed typo in docstring.
Moved relative URL handling added in refs #21177 to a better place.

Thanks apollo13: "reverse() shouldn't know about absolute/relative paths."
Fixed typo in test docstring.
Fixed #18373 - improved handling of Resolver404s from views

When django.core.urlresolvers.resolve was called from a view, failed
and the exception was propagated and rendered by technical_404_response,
the URL mentioned on the page was the current URL instead of the URL
passed to resolve().

Fixed by using the path attribute from the Resolver404 exception instead
of request.path_info. Also cleaned up the exceptions to use standard
named parameters instead of stuffing a dict in args[0]