Issue 2491 editing pm settings

I'm sure that the changes that I've made to the prompt_restrictions_helper could be much better, but it took long enough just to get this functional. I welcome suggestions/advice. :)

Issue 2491: https://code.google.com/p/otwarchive/issues/detail?id=2491