BibUpload: fix for inserts with 005

* In case 005 is present when inserting a new record use that to
  timestamp a record history.
  (fixes #1595)

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>