mwcore-docgen: let us override base destination

TARGET_BASEDIR (default to /srv/org/wikimedia/doc) will let us override
the destination of generated doc.  The use case is to have it generated
under the workspace and published from labs via the 'push-doc' macro.

Change-Id: I7699e9c85b16c344aebdc3aa792034f6f709262e