[doc] Fix formatting, typos, bugs in compiler-internals.rst.
Merge pull request #734 from cgay/docs

[doc] Fix formatting, typos, bugs in compiler-internals.rst.