nitdoc: Adding functions to MClass

Adding some function to retrieve parents, childs and all refined of a
class

Signed-off-by: Stefan Lage <lagestfan@gmail.com>