All units retain their original case on output

At the cost of readability, all units of measurement are now handled in
a way that makes them case-insensitive. In addition to this, on the
output the original cases of the units are used as defined in the
variable 'conversion'.