Added some functionality for mfit

* Added an exception header to produce quick exception classes.
* Added a gender to string conversion function.
* Added a KM, CM, unknown, and percentage unit.
* Converted quantity to a virtual type extending value to allow for
  overloading of its printing.
* Converted time quantities to print as hour, min, and seconds.