Fix for issue https://svn.boost.org/trac/boost/ticket/10405

Change code snippets in docs to be complete programs to avoid any confusion.
Fix failure caused by change to Boost.Random.
Regenerate docs.
Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop