Implemented a temporary fix for http://dartbug.com/11960
Added publishTypes to @NgComponent/@NgDirective and implemented caching of directive metadata.
feat(parser): Add context to parser error messages.