Fix prior changing
Some of the priors we previously weren't able to change the limits after creating them. This MR makes that possible for all priors with finite domains and adds a test of it.
It required some rewriting of a few priors.
I did branch this form a different unmerged branch, but I think I removed everything new.