Handle negative luminosity distances in distmod.

* Closes #2008
* Abs lum distances in distmod.
* Add unit test for this behavior.