sipcapture: retry insert in DB on initial failure

- added insert_retries and insert_retry_timeout parameters, which
  control how many times and for how long Kamailio should try to
  rewrite to the Homer database in case the first attempt fails;
  trying to rewrite proves useful especially in heavy load scenarios.