fix(directives): fixed error handling in directives registry
test(directive): Added a test for DirectiveRegistry
fix(parser_generator): fixed class selector
fix(ng_repeat): Gracefully handle non-lists
test(ng_repeat): Test for gracefully handling nulls