move examples into testmachine.examples package in prep for making them run as part of tests
add a test which runs all the examples. Turns out I'd broken something. Fix that. Tests are useful. Who knew?
remove dependency on copy in generation