Moved history commands into a module, changed the `history ls` output to
be sorted numerically and integrated the -v | --verbose with the output
of `history ls`.