Support for hierarchical context hierarchies

This is a pull-request for issue #816.

#816: Support for hierarchical context hierarchies - RunWith annotation will be resolved along the hierarchy of non-static member classes.

Discussions on this topic should happen in #816. I provided this pull-request mostly to show the changes more graphically.