pylint fixes.
Split out some work from do_editor into new methods.
- compare_dicts does dictionary comparison and returns 'work lists'.
- editor_actions does the apropriate ldap operations to satisfy work lists.
- editor_actions uses safety_check decorator to confirm changes.