Merge branch 'trivial' into new-and-improved!

* trivial:
  Minor code cleanup (slight rework of 78165a)
  Stricter compile-time checks (gcc options)
  Minor code cleanup
  Print rename operation only if successful
  Improve error messages
  Fix for hang/crash due to modified newname buffer
  Merge branch 'new-and-improved!' into trivial
  Provide default value for quiet'' option
  getopt option processing hardening
  Fix ``make clean'' rule in top-level makefile
  Add comments to test data input file
  Use external resource file to store test data
  libs should depend on sources
Allow cleanup to continue when specific renames fail

Cherry-pick e1cb24
(Fixed) Conflicts:

	src/cleanup.c
Merge branch 'trivial' into new-and-improved!

* trivial:
  Added a note to self
Merge branch 'master' into new-and-improved!

* master:
  Fix for cleanup error (github issue #4)
  Allow cleanup to continue when specific renames fail
Print rename operation only if rename is successful

Restore bit of 51bfb that was mangled during various fixes/merges.
Merge branch 'trivial' into new-and-improved!

* trivial:
  Print rename operation only if rename is successful
  Print rename operation only if rename is successful
Code cleanup to facilitate testing of cleanup tool

Preparation for fix of github issue #5.
Add usage/help message via option -h

Option -s (check type) now takes integer options 0/1. Any other value sets the type to soft.
(cherry picked from commit a170f091a5ea8a1d07d9e737e470cd78b8833bba)
Test the cleanup tool separately

This fixes github issue #5
Merge branches 'new-and-improved!' and 'trivial'

* new-and-improved!:
  Test the cleanup tool separately
  Add usage/help message via option -h
  Code cleanup to facilitate testing of cleanup tool
  Print rename operation only if rename is successful
  Allow cleanup to continue when specific renames fail
  Minor code cleanup (slight rework of 78165a)
  Stricter compile-time checks (gcc options)
  Minor code cleanup
  Improve error messages
  Merge branch 'new-and-improved!' into trivial
  getopt option processing hardening
  use fprintf to write to stderr for error
  API to set check type
  Complete implementation for test case 'a - b.ext'
  Code tree re-organization
  Include -ggdb flag in DEBUG build of libraries

* trivial:
  Add usage/help message via option -h
  Print rename operation only if rename is successful
  Minor code cleanup (slight rework of 78165a)
  Stricter compile-time checks (gcc options)
  Minor code cleanup
  Improve error messages
  Merge branch 'new-and-improved!' into trivial
  getopt option processing hardening
  use fprintf to write to stderr for error
  API to set check type
  Complete implementation for test case 'a - b.ext'
  Code tree re-organization
  Include -ggdb flag in DEBUG build of libraries

(Fixed) Conflicts:
	tests/tests.c
Improve test API names
Merge branches 'master' and 'new-and-improved!' into trivial

* master:
  Improve test API names
  Test the cleanup tool separately
  Add usage/help message via option -h
  Code cleanup to facilitate testing of cleanup tool
  Print rename operation only if rename is successful
  Allow cleanup to continue when specific renames fail

* new-and-improved!:
  Test the cleanup tool separately
  Add usage/help message via option -h
  Code cleanup to facilitate testing of cleanup tool
  Print rename operation only if rename is successful
  Allow cleanup to continue when specific renames fail