Emit a warning if a public object has no docstring

This was originally https://github.com/astropy/astropy/pull/2136 - I don't think we should merge as-is but instead make it an opt-in option that can be set in ``conftest.py``. Then even if we never enable it by default in astropy core we can then enable it from time to time locally for testing.