a) I guess whether it was hereditary depends on whether you're Sunni or Shia. Either way, it certainly was heritable, lasting beyond Muhammad's death, to be inherited by either his cousin or his wife's father.
b) Muhammad united the two Arab tribes and conquered Medina, expelling or killing the three Jewish tribes. Is that your understanding?