Change code snippets in docs to be complete programs to avoid any confusion. Fix failure caused by change to Boost.Random. Regenerate docs.
[SVN r86781]