Prevent polluting session by hiding internal module members
Format function names in the standard PowerShell way.
Export CD command wrapper function.
Fix call to save function. Wrong name.
Restore CD history when an exception is thrown.
Convert history entry to hashtable and return correctly.