Added scripts to build documentation (requires php, pear and phpdoc).