Remove nodoc items when storing a class or module

Since the document_self and ignored properties are not included in the
store, items with these flags should also be removed from the output.

This prevents the items from incorrectly showing up in the RDoc servlet
or through ri.

Fixes #177