move docs tooling from JSX in Depth

Also removes the code wrap around the syntax highlighting link.
Merge pull request #492 from chenglou/move-tooling

move docs tooling from JSX in Depth
Make state immutable in tutorial (eek)