implement bin/build_doc to test pdf and html documentation building

as described in the wiki: https://github.com/sympy/sympy/wiki/New-Release#check-docs