Fixed #5896 ddocs pip install problem of soledad.common.

- ddocs are only generated if ddocs folder is available
- fixes Bug #5896 (missing dir avoids soledad.common to be installed
  from pypi)