Remove unused header.
Try to use in-tree paper.h even when libpaper is already installed on the system.
Specify the NULL return when the paper list is exhausted.
Fix and expose unitfactor, and have it return double.

Remove dm from list of allowable units.
Improve paperconf(1) slightly.