ddrs-dump makeover

* Added a "limit" option to limit the returned results
* Used `os.path.split()` rather than `String.split` because this works if directory is specified with or without a trailing slash.
* Changed the input argument `format` to `output_spec` since *format* was used in many places.
* Some cosmetic changes