chore(directive): rename Directive* classes

DirectiveFactory -> Directive
DirectiveDef     -> 
DirectiveInfo    -> DirectiveRef
Directives       -> DirectiveRegistry
chore(compiler) merge DirectiveDef into DirectiveRef