handle missing docstrings/__init__ in %pdoc
handle missing docstrings/__init__ in %pdoc

missing information properly prints 'no documentation', rather than
raising TypeErrors or AttributeErrors on missing values.

doctests added for these cases

closes gh-585
ipython/ipython,ipython/ipython