Move the packages out of backend and into the project root.
Pull the package and key code into their own packages.
Fix the frontends to use the keys package.
Close some things when we're done with them in the editor tests.
Don't break the docs.
Merge branch 'move_packages'

Conflicts:
	backend/editor_test.go
Tidy up more resources during the tests.