fix for bug #2182. Added more params for the promises hashing algo

New hashing params are
  * bundle name
  * namespace
  * location of promises in policy file (start, end, line)