Implements > edit char

And fixes the prompt so you can quit it
Refactors command handling

Uses JSON objects full of handler functions rather than switch blocks
Beautifies > edit char

Now with permission checking!
Merge pull request #2 from LipGlossary/cmd-char

Cmd char