Changed/added docbuild scripts

cron was unable to build the docs because sphinx-build was not on the
path. Also, it was running the build process every night even if there
was no change in the code since the last build. These changes should
take care of that.