Move methods from PackageTemplate and PackageEditor to Package.

Adjust to work correctly.
Pylint tests. Change tests to support Package refactor.
Refactor Category to single-inheritence.
Remove XMLEditor and Templates. Fix inheritance for existing objects.
Spelling.