invenio-check-branch: better detection of mods

* Detects better (more completely) which files have been modified
  in between the two given branches.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>