Added ability to provide error location via dhaltloc/dwarnloc.

Added dautohandle() for automatic handling of derrinfo() data.