Clean up and refactoring
Fixes #2357
Finalizing PolytomousKeyListEditor
Working on the polytomous key editor