Adding ability to read/write Permission Configs and cli to access them

- Added the ability to set/list/remove permission configurations from prefixes.
- Most of this was a mimic of what Spencer wrote for the zone configurations.
- Also consolidated some of the repeated code where I could.