Extended KAFDocument to support matching of dependency tree paths. Expos...

...ed some functions in AnnotationContainer