Every code example is now fully runnable and testable. As a result, all examples are now tested and include imports. Relevant imports are shown by default. Code examples can be expanded to show all imports. Fixes #432.