Fixed a bug in doc generator

If an attribute of a class has handles for private methods only, then docs should not say that
"This attribute has handles as follows:"
Merge pull request #46 from Sweet-kid/doc_generator_fix

Fixed a bug in doc generator