add attributes to ClassMetadata and file loaders

supporting code for https://github.com/symfony-cmf/RoutingAutoBundle/pull/144