generate history of files renamed in Mercurial repo separately

fixes #22

Some important changes:
  - file based cache now checks file existence (prevents bogus entries)
  - added column to JDBC schema to be able to tell the difference between original/current name of given file