Allow for inclusion of authors and changelog when building docs

When git is available and changelog and author building has not
been turned off try to build these two files so that they can be
included in any subsequent documentation.

Change-Id: I2fc7ade645e3ff1a67e30bd4d35676b5e10916af