Add apidoc_cache_base_dir option to move all caches to another dir

This is to fix http://projects.theforeman.org/issues/7063, which means we can't expand $HOME in the context of a Puppet run (it's unset usually for daemons).  This will allow us to reconfigure it to one of Puppet's own cache directories.